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

possible overflows in libraries/libldap/getfilter.c function ldap_build_filter (ITS#2011)

Full_Name: Ralf Haferkamp
Version: 2.0.25, HEAD
URL: ftp://ftp.openldap.org/incoming/ralf-haferkamp-020806-getfilter.diff
Submission from: (NULL) (

The function ldap_build_filter doesn't check for enough space in the supplied
buffer. The uploaded patch (against HEAD) should fix the problem. Though I am
not exactly sure if the "break" statements I added are enough in case of an
error. Please review.