Any simple program that calls strdup() and links to a static library crashes with corrupted heap.Notice that by replacing strdup() with _strdup() the program works, despite the fact that strdup() and _strdup() should be the same function: the documentation says that it is just a name change.
Version