server: KeyNameInformation returns the full name of the key. (try 3)
Akihiro Sagawa
sagawa.aki at gmail.com
Mon Oct 13 10:25:00 CDT 2014
Try 3:
- Avoid allocating memory. (Based on Alexandre's comment, thanks.)
- Use k != root_key instead of k->namelen != 0.
- Add insufficient buffer test.
---
dlls/ntdll/tests/reg.c | 19 ++++++++++++++-----
server/registry.c | 25 ++++++++++++++++++++++++-
2 files changed, 38 insertions(+), 6 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-server-KeyNameInformation-returns-the-full-name-of-t.patch
Type: text/x-patch
Size: 4365 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20141014/637a2e8e/attachment.bin>
More information about the wine-patches
mailing list