shlwapi.dll, Fix endless loop in StrPBrkW

Michael Stefaniuc mstefani at redhat.de
Mon Mar 3 14:57:10 CST 2003


On Mon, Mar 03, 2003 at 07:01:35PM +0100, Eric Pouech wrote:
> > -    while (*lpszStr);
> > +    while (*lpszStr)
> could we catch this type of error with smatch ?
It's pretty easy to check for "(while|for)(....);", but the interesting
part is to keep the false positive minimal. I'll see what i can do.

bye
	michael
-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
System Administration           Fax.: +49-711-96437-111
Red Hat GmbH                    Email: mstefani at redhat.com
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20030303/469f382f/attachment.pgp


More information about the wine-devel mailing list