Undocumented behaviour in ReqQueryValueEx when 'count' and 'type' point to the same address
Sam Dennis
samuel.howard.dennis at gmail.com
Tue Dec 11 17:57:01 CST 2007
WINE's RegQueryValueEx overwrites the value stored at the address
passed in the 'type' parameter early, causing an error in reading a
value from the registry if 'type' and 'count' point to the same
address which doesn't occur in Windows. This patch doesn't address
other undocumented behaviour of calling the function this way, such as
the contents of memory at type and count after the call.
Resolves http://bugs.winehq.org/show_bug.cgi?id=10649
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: regqueryvalueex_dupnonconstref.diff
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20071211/a0efb9c0/attachment.txt
More information about the wine-patches
mailing list