[Bug 37759] GetStringTypeW: Access violation when src param is null

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Dec 23 11:14:39 CST 2014


https://bugs.winehq.org/show_bug.cgi?id=37759

--- Comment #7 from Bruno Jesus <00cpxxx at gmail.com> ---
(In reply to christian faure from comment #6)
> Created attachment 50300 [details]
> [1/1] kernel32: Fix GetStringTypeW when src param is null

I can see just a minor inconsistency in the style, the loop instead of:
for(i = -1; i<3; i++){

Should be:
for(i = -1; i < 3; i++) {


And:
memset(types,0,sizeof(types));

To:
memset(types, 0, sizeof(types));


The file is not following a 80 column rule so there is no need to split the
ok() line.

I have also posted your patch in the testbot [1] to check if this is the
correct behavior in all Windows versions.

[1] https://testbot.winehq.org/JobDetails.pl?Key=10890

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list