Aric Stewart : setupapi: Restore close brace before using guid string as reg key.

Alexandre Julliard julliard at wine.codeweavers.com
Mon May 4 07:58:53 CDT 2015


Module: wine
Branch: master
Commit: a3487ad3169f5d323ffec2ded6754c3357640161
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a3487ad3169f5d323ffec2ded6754c3357640161

Author: Aric Stewart <aric at codeweavers.com>
Date:   Fri May  1 07:58:37 2015 -0500

setupapi: Restore close brace before using guid string as reg key.

---

 dlls/setupapi/devinst.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/setupapi/devinst.c b/dlls/setupapi/devinst.c
index 966af75..2a97eab 100644
--- a/dlls/setupapi/devinst.c
+++ b/dlls/setupapi/devinst.c
@@ -2132,6 +2132,8 @@ static void SETUPDI_EnumerateInterfaces(HDEVINFO DeviceInfoSet,
 
                         interfaceGuidStr[37] = 0;
                         UuidFromStringW(&interfaceGuidStr[1], &interfaceGuid);
+                        interfaceGuidStr[37] = '}';
+                        interfaceGuidStr[38] = 0;
                         l = RegOpenKeyExW(interfacesKey, interfaceGuidStr, 0,
                                 KEY_READ, &interfaceKey);
                         if (!l)




More information about the wine-cvs mailing list