[ros-bugs] [Bug 2492] Regedit doesn't create values in certain situations

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Sun Sep 19 01:26:57 UTC 2010


http://www.reactos.org/bugzilla/show_bug.cgi?id=2492





--- Comment #6 from RoMe <roelmessiant at gmail.com>  2010-09-19 01:26:56 CET ---
Created an attachment (id=5319)
 --> (http://www.reactos.org/bugzilla/attachment.cgi?id=5319)
Extra check for failure due to buffer size.

NtEnumerateValueKey can return STATUS_BUFFER_OVERFLOW or
STATUS_BUFFER_TOO_SMALL if the buffer is too small.
RegEnumValueW only did special processing when STATUS_BUFFER_OVERFLOW got
returned.

Please test if this fixes the problem, it does for me.
Patch is based on the scenario of comment #1 and Katayama's findings.


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Ros-bugs mailing list