http://bugs.winehq.org/show_bug.cgi?id=21086 Summary: Bug in SearchPath when filename supplied but null Product: Wine Version: 1.1.35 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs(a)winehq.org ReportedBy: us(a)edmeades.me.uk Debugging a private application shows that SearchPath on wine returns success incorrectly when passed a filename which is a valid pointer but points to a null character. I have a standalone testcase for this which is trivial to put into the main wine testsuite, and I have also confirmed that a simple check for [0]==0x00 in SearchPathW in kernel32/path.c and setting last error of 87 (invalid parameter) and returning 0 fixes the problem in my application. JECC -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.