[389-devel] Please review (reopened): [389 Project] #443: Deleting attribute present in nsslapd-allowed-to-delete-attrs returns Operations error
Noriko Hosoi
nhosoi at redhat.com
Sat Jan 18 00:43:48 UTC 2014
https://fedorahosted.org/389/ticket/443
https://fedorahosted.org/389/attachment/ticket/443/0003-Ticket-443-Deleting-attribute-present-in-nsslapd-all.patch
Description: commit 90dd9bb3c1411daca353d055d90618e67aa1fa7e introduced
an Invalid read. If an empty value is set to on/off type config param,
it cannot be distinguished from the internal OFF value '0'. When checking
the value other than "on" and "off", the pointer was casted to an integer
and evaluated the value. When an empty value is given, it is an empty string
"", which size is sizeof(char), not sizeof(int), which caused the Invalid
read.
More information about the 389-devel
mailing list