[PATCH] kernel32: GetPrivateProfileSectionNamesA error checking (Coverity)

Alexandre Julliard julliard at winehq.org
Wed Jan 6 06:34:28 CST 2010


Marcus Meissner <marcus at jet.franken.de> writes:

> buffer and size need to be either 0 at the same time or not,
> otherwise this breaks up. Windows is inconsistent (either crashes
> or returns invalids), so we can just add checking.

If Windows crashes we don't need extra checks. Just tell Coverity that
crashing is allowed here.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list