[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
OS: 
URL: ftp://ftp.openldap.org/incoming/ralf-haferkamp-020806-getfilter.diff
Submission from: (NULL) (213.95.15.201)


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.