[PATCH 2/3] [Msvcrt]: put in place the full scheme for paramter validation (the _s family of functions)
Piotr Caban
piotr.caban at gmail.com
Sun Oct 24 16:24:20 CDT 2010
Hi,
Only debugging version of the dll is passing data to
invalid_paramter_handler. I guess it's why we shouldn't do it.
There already is a test for it in msvcr90 (see strtoi64 tests). Because
it was not strict enough it will not show it very well. Currently it
will not show that it was expecting invalid_parameter_handler to be
invoked (but will fail checking errno that should not be changed). Of
course this behavior may vary between msvcrXX dlls, I have tested it
only with msvcr90 and msvcrt on Windows XP.
Cheers,
Piotr
More information about the wine-devel
mailing list