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

(ITS#6303) Buffer overflow with new glibc



Full_Name: Jan Zeleny
Version: 2.4.18
OS: Fedora 12
URL: http://jzeleny.fedorapeople.org/patches/openldap/openldap-2.4.18-ldif-buf-overflow.patch
Submission from: (NULL) (62.40.79.66)


I tried to make configuration directory (instead of config file) work in Fedora
12. I noticed that new builds of slapd fail during start with config dir. The
start results in SIGABRT, backtrace and buffer overflow error. I traced the bug
to ldif.c. I guess new version of glibc has some kind of mechanism which is
checking boundaries of structures and isn't allowing write out of those
boundaries. I made attached patch to avoid the issue. After testing it seems to
be working well.