Commit be864941 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#6723

parent c6852ae7
...@@ -5,6 +5,7 @@ OpenLDAP 2.4.24 Engineering ...@@ -5,6 +5,7 @@ OpenLDAP 2.4.24 Engineering
Added slapd-sql autocommit support (ITS#6612) Added slapd-sql autocommit support (ITS#6612)
Fixed liblber to not close invalid sockets (ITS#6585) Fixed liblber to not close invalid sockets (ITS#6585)
Fixed libldap dnssrv port format specifier (ITS#6644) Fixed libldap dnssrv port format specifier (ITS#6644)
Fixed libldap EOF handling (ITS#6723)
Fixed libldap GnuTLS hang on socket close (ITS#6673) Fixed libldap GnuTLS hang on socket close (ITS#6673)
Fixed libldap sasl partial write handling (ITS#6639) Fixed libldap sasl partial write handling (ITS#6639)
Fixed libldap referral chasing (ITS#6602) Fixed libldap referral chasing (ITS#6602)
...@@ -34,6 +35,9 @@ OpenLDAP 2.4.24 Engineering ...@@ -34,6 +35,9 @@ OpenLDAP 2.4.24 Engineering
Fixed contrib/autogroup LDAP URI with attribute filter (ITS#6536) Fixed contrib/autogroup LDAP URI with attribute filter (ITS#6536)
Fixed contrib/nssov to only close socket on shutdown (ITS#6676) Fixed contrib/nssov to only close socket on shutdown (ITS#6676)
Fixed contrib/nssov multi platform support (ITS#6604) Fixed contrib/nssov multi platform support (ITS#6604)
Build Environment
Fixed slapd-tester EOF handling (ITS#6723)
Fixed slapd-tesster filter initialization (ITS#6735)
Documentation Documentation
admin24 guide typo fixes (ITS#6609) admin24 guide typo fixes (ITS#6609)
ldap_open(3) document ldap_set_urllist_proc (ITS#6601) ldap_open(3) document ldap_set_urllist_proc (ITS#6601)
......
...@@ -81,11 +81,9 @@ main( int argc, char *argv[] ) ...@@ -81,11 +81,9 @@ main( int argc, char *argv[] )
} }
if ( strcmp( argv[ 1 ], "-" ) == 0 ) { if ( strcmp( argv[ 1 ], "-" ) == 0 ) {
size_t len; size_t len = fgets( buf, sizeof( buf ), stdin ) ? strlen( buf ) : 0;
fgets( buf, sizeof( buf ), stdin ); if ( len == 0 || buf[ --len ] == '\n' ) {
len = strlen( buf );
if ( len > 0 && buf[ --len ] == '\n' ) {
buf[ len ] = '\0'; buf[ len ] = '\0';
} }
strin = buf; strin = buf;
...@@ -296,4 +294,3 @@ main( int argc, char *argv[] ) ...@@ -296,4 +294,3 @@ main( int argc, char *argv[] )
return( 0 ); return( 0 );
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment