X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Flibldap%2Fstring.c;h=49fe58f0f0e302fd62f07eaab9919792ea9bf55b;hb=dbb89a64da5651cf8d61524f6cd5cd083f99a570;hp=548eb18a518dd31004e0817ec9d0b927e1b1e32f;hpb=159de0f1359459371c590ac770cc30edbade58d5;p=openldap diff --git a/libraries/libldap/string.c b/libraries/libldap/string.c index 548eb18a51..49fe58f0f0 100644 --- a/libraries/libldap/string.c +++ b/libraries/libldap/string.c @@ -1,7 +1,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 1998-2003 The OpenLDAP Foundation. + * Copyright 1998-2014 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -126,7 +126,7 @@ ldap_pvt_str2upperbv( char *str, struct berval *bv ) { char *s = NULL; - assert( bv ); + assert( bv != NULL ); /* to upper */ if ( str ) { @@ -161,7 +161,7 @@ ldap_pvt_str2lowerbv( char *str, struct berval *bv ) { char *s = NULL; - assert( bv ); + assert( bv != NULL ); /* to lower */ if ( str ) {