[Freeipa-devel] [PATCH 0234] Prevent NULL dereference before sync_concurr_limit_signal() calls

Petr Spacek pspacek at redhat.com
Wed Apr 9 12:07:10 UTC 2014


Prevent NULL dereference before sync_concurr_limit_signal() calls.

Missing check was causing NULL dereference in case where
manager_get_ldap_instance() failed. This typically happens when BIND
is processing LDAP updates during shutdown.

I noticed this crash during sanity testing 4.2 release...

Please review it ASAP so I can release 4.3.

How to reproduce the problem:
Run BIND manually from console:
$ named -4 -g -u named -m record -n 10
and press Ctrl+C "almost immediately".

Sometimes it shutdowns cleanly and sometimes you can see a crash:

Thank you for your time!

Petr^2 Spacek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0234-Prevent-NULL-dereference-before-sync_concurr_limit_s.patch
Type: text/x-patch
Size: 2104 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140409/1cf82e94/attachment.bin>

More information about the Freeipa-devel mailing list