[Date Prev][Date Next]
(ITS#6634) potential leak when ARG_BERVAL|ARG_OFFSET
Full_Name: Pierangelo Masarati
Submission from: (NULL) (188.8.131.52)
Submitted by: ando
config_get_vals() in the above case first duplicates the berval from the
pointer; then assigns it to "bv"; finally, it calls value_add_one(), which
further duplicates the berval. When ARG_STRING, instead, after the string is
turned into a berval, ber_bvarray_add() is called.
As far as I could tell, this only occurs for olcDbDirectory of back-ldif.