Aric Stewart : hidclass: Properly NULL terminate device_deviceid_fmtW.
Module: wine Branch: master Commit: 0e6d749a0e18d97fc999372860f37bcc1974b6d0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0e6d749a0e18d97fc999372860... Author: Aric Stewart <aric(a)codeweavers.com> Date: Tue Nov 21 14:00:00 2017 -0600 hidclass: Properly NULL terminate device_deviceid_fmtW. Signed-off-by: Aric Stewart <aric(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/hidclass.sys/pnp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/hidclass.sys/pnp.c b/dlls/hidclass.sys/pnp.c index b92457f..30d1045 100644 --- a/dlls/hidclass.sys/pnp.c +++ b/dlls/hidclass.sys/pnp.c @@ -33,7 +33,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(hid); static const WCHAR device_enumeratorW[] = {'H','I','D',0}; static const WCHAR separator_W[] = {'\\',0}; static const WCHAR device_deviceid_fmtW[] = {'%','s','\\', - 'v','i','d','_','%','0','4','x','&','p','i','d','_','%', '0','4','x'}; + 'v','i','d','_','%','0','4','x','&','p','i','d','_','%', '0','4','x',0}; static NTSTATUS WINAPI internalComplete(DEVICE_OBJECT *deviceObject, IRP *irp, void *context)
participants (1)
-
Alexandre Julliard