[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#6356) slapd.conf tcp-buffer gets uninitialized value

Full_Name: Hallvard B Furuseth
Version: HEAD
Submission from: (NULL) (
Submitted by: hallvard

config_tcp_buffer() passes 'idx' uninitialized to tcp_buffer_add_one().

Introduced in rev 1.384 for ITS#6234 (TCP buffer configuration)
when !defined(LDAP_TCP_BUFFER_X_ORDERED), then rev 1.388 removed
the #ifdef LDAP_TCP_BUFFER_X_ORDERED which could set the value.

(Not sure if this needed an ITS -- the code is in 2.4.18/19, but
inside #ifdef LDAP_TCP_BUFFER which is #defined if LDAP_DEVEL.)