http://bugs.winehq.org/show_bug.cgi?id=33376
--- Comment #4 from Fabian Ebner f.ebner94@gmail.com 2013-04-29 15:51:30 CDT --- When running the program on windows vista with straceNT I get the following warning at startup: Invalid parameter passed to C runtime function
So possibly windows just ignores the bad calls and continues the execution nevertheless?