Full_Name: David Hawes
OS: Debian GNU/Linux 4.0
Submission from: (NULL) (184.108.40.206)
slap_send_search_entry() prints out some logging messages at result.c:1228 which
includes the DN of the entry being sent. The entry is previously released on
If no overlays are configured, the DN in the log message is printed correctly.
If, however, an overlay makes a copy (with entry_dup()) of the entry that is
being sent, the DN printed out will be garbled or empty. Moving the block of
code at line 1201 below the Statslog line will cause the DN to be printed
I initially noticed this with some custom overlays, but it is easy to reproduce
with the valsort overlay. Simple enable the overlay and search for an entry
that will cause valsort to call entry_dup(), and look for the log message.
Show replies by date