cURL / Mailing Lists / curl-library / Single Mail


strequal() doesnt like NULL

From: Guenter Knauf <>
Date: Thu, 23 Aug 2007 15:44:20 +0200

while testing with the ldap stuff I found that strequal() doesnt like when one of the passed-in string pointers is NULL, and at least on Win32 and NetWare that leads to a segfault.
Would it make sense to introduce a NULL check in strequal() ?

Received on 2007-08-23