ws2_32: Avoid writing to NULL pointer (coverity)

Alexandre Julliard julliard at winehq.org
Thu Dec 5 04:00:39 CST 2013


Bruno Jesus <00cpxxx at gmail.com> writes:

> Due to the format set in sprintf this is impossible to happen, but
> coverity is not content aware and complains that the strstr may return
> NULL. This patch should make it happy.

If it can't happen there's no reason to add a check.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list