Crash bug in Wine 1.3.5 in advapi32/service.c

Damian Dixon damian.dixon at gmail.com
Fri Oct 29 11:55:51 CDT 2010


Hi,

In file dlls/advapi32/service.c, line 1135 a memory copy occurs, however the
lpservicestatus is not checked to see if the value is NULL.

This causes a crash in an application that has worked before under wine.

My naive change is:

    if (ret && lpservicestatus) memcpy(lpservicestatus, &SvcStatusData,
sizeof(SERVICE_STATUS)) ;

Regards
Damian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20101029/c239d74c/attachment.htm>


More information about the wine-devel mailing list