From: Kurt Zeilenga Date: Thu, 27 May 1999 01:36:38 +0000 (+0000) Subject: Add assert( s != NULL ) X-Git-Tag: OPENLDAP_REL_ENG_2_BP~514 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b458560a9e77cdc91ac7eb74f37564ddb7c5b806;p=openldap Add assert( s != NULL ) --- diff --git a/servers/slapd/attr.c b/servers/slapd/attr.c index c1178c94e9..b26b7c34ba 100644 --- a/servers/slapd/attr.c +++ b/servers/slapd/attr.c @@ -39,6 +39,8 @@ attr_normalize( char *s ) { char *save; + assert( s != NULL ); + for ( save = s; *s; s++ ) { *s = TOLOWER( (unsigned char) *s ); }