[syslog-ng] [PATCH] afsql: Fix a deadlock when using explicit commits.

Balazs Scheidler bazsi at balabit.hu
Sat Feb 25 16:58:10 CET 2012


Thanks for all, applied to 3.3 master.

On Fri, 2012-02-10 at 12:59 +0100, Gergely Nagy wrote:
> When using explicit commits, in case the COMMIT results in an error,
> syslog-ng forgot to release a mutex, resulting in a deadlock the next
> time the same error happened.
> 
> The fix is to do release the mutex in this error path, too.
> 
> Signed-off-by: Fried Zoltan <deirf at balabit.hu>
> Signed-off-by: Patrick Hemmer <syslogng at stormcloud9.net>
> Signed-off-by: Gergely Nagy <algernon at balabit.hu>
> ---
-- 
Bazsi




More information about the syslog-ng mailing list