mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 09:39:45 -05:00
Quick fix for NULL sos
This commit is contained in:
parent
1d4e2342d2
commit
e60d22e3c6
1 changed files with 2 additions and 0 deletions
|
|
@ -504,6 +504,8 @@ ber_put_seqorset( BerElement *ber )
|
|||
assert( ber != NULL );
|
||||
assert( LBER_VALID( ber ) );
|
||||
|
||||
if( *sos == NULL ) return -1;
|
||||
|
||||
/*
|
||||
* If this is the toplevel sequence or set, we need to actually
|
||||
* write the stuff out. Otherwise, it's already been put in
|
||||
|
|
|
|||
Loading…
Reference in a new issue