[PATCH v2 2/6] advapi32: Support the base directory parameter in RegLoadMUIString.

Akihiro Sagawa sagawa.aki at gmail.com
Thu May 9 08:07:27 CDT 2019


In v2,
 - Fix off-by-one buffer allocation error.
 - Add GetFileAttributes to verify that the file exists at the specified file path.
   In other words, we don't search the PATH for the DLL.
 - use GetSystemDirectoryW instead of kernel32's global variable in kernel32.

Signed-off-by: Akihiro Sagawa <sagawa.aki at gmail.com>
---
 dlls/advapi32/registry.c       | 45 +++++++++++++++++++++++++++++++-----------
 dlls/advapi32/tests/registry.c |  4 ++--
 dlls/kernel32/time.c           |  4 +++-
 3 files changed, 38 insertions(+), 15 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0002-advapi32-Support-the-base-directory-parameter-in-.patch
Type: text/x-patch
Size: 6567 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20190509/89744aee/attachment-0001.bin>


More information about the wine-devel mailing list