[Date Prev][Date Next]
Patch: Fix uninitialized variables in slapd (ITS#1683)
Full_Name: Hallvard B. Furuseth
Submission from: (NULL) (22.214.171.124)
attribute.c: ldbm_back_attribute() could log 'nvals' = jv - v even
if an error happened so jv and v were not initialized.
This patch logs nvals as 0 in that case.
controls.c: get_ctrls() would log 'nctrls' even if an error happened
so it was uninitialized. This patch logs 0 in that case.