Re: Don't crash on NULL data in RegSetValueEx
20 Jul
2004
20 Jul
'04
2:52 p.m.
Hi, On Tue, Jul 20, 2004 at 03:25:57PM +0100, Mike Hearn wrote:
I tested this on Win98. The platform SDK installer does this. Ah, right, my uncommitted patch from April 14.
+ if (!data) return ERROR_INVALID_PARAMETER; + if (!is_version_nt()) /* win95 */ { Are you sure this is correct? free-av.de called RegSetValueEx with a NULL value on Win9x setting only, so maybe NT handles this differently? (I thus placed the check into the win9x branch only)
Andreas Mohr
7820
Age (days ago)
7820
Last active (days ago)
0 comments
1 participants
participants (1)
-
Andreas Mohr