bmstrcasestr() now returns NULL if either of its supplied
authorArt Cancro <ajc@citadel.org>
Wed, 19 Mar 2008 17:46:00 +0000 (17:46 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 19 Mar 2008 17:46:00 +0000 (17:46 +0000)
commitc0cbc6e7d61f8e5d6cfa7f1c69ee1b5eea64823c
tree0ae8ead543d96a4d24b128301bcc4b94791204d9
parentbba7dc88e0313c0e8fcfd49db1425fbbc0f52f56
bmstrcasestr() now returns NULL if either of its supplied
arguments is NULL ... instead of passing NULL to strlen() and making
the program crash.
libcitadel/lib/tools.c