[PATCH v2] shlwapi/tests: Document where SHFormatDateTimeA() crashes for NULL pointers.

Francois Gouget fgouget at codeweavers.com
Thu Sep 2 03:21:10 CDT 2021


On Wed, 1 Sep 2021, Saulius Krasuckas wrote:
[...]
> If you remove it, a guy working on some old app (that misbehaves using Wine)
> will possibly try to add it back. Because one will not know the API crashes on
> newer Windows.

It's not clear that there ever was a Windows version where the API did 
not crash when given a NULL input pointer.

Note that the NULL pointer being tested is an _input_ pointer (though 
that's not entirely obvious from the call). There is little the API can 
do without that single input.


-- 
Francois Gouget <fgouget at codeweavers.com>



More information about the wine-devel mailing list