Bug#886232: perl: Sys::Syslog is not tread-safe (can segfault)
Zdenek Salvet
salvet at ics.muni.cz
Wed Jan 3 10:52:02 UTC 2018
Package: perl
Version: 5.20.2-3+deb8u9
Severity: important
Tags: upstream patch
Dear Maintainer,
Sys::Syslog module is not thread-safe, reopening syslog connection
(could be internal/automatic after transient transport error, without user
calling openlog/closelog) can crash multithreaded process
(Apache event MPM with mod_perl in my case).
You can find upstream bug report at https://rt.perl.org/Public/Bug/Display.html?id=132679 ,
attached patch (serializing access to shared variable with straightforward locking)
has been tested on jessie.
-- System Information:
Debian Release: 8.10
APT prefers oldstable-updates
APT policy: (860, 'oldstable-updates'), (850, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages perl depends on:
ii dpkg 1.17.27
ii libbz2-1.0 1.0.6-7+b3
ii libc6 2.19-18+deb8u10
ii libdb5.3 5.3.28-9+deb8u1
ii libgdbm3 1.8.3-13.1
ii perl-base 5.20.2-3+deb8u9
ii perl-modules 5.20.2-3+deb8u9
ii zlib1g 1:1.2.8.dfsg-2+b1
Versions of packages perl recommends:
ii netbase 5.3
ii rename 0.20-3
Versions of packages perl suggests:
pn libterm-readline-gnu-perl | libterm-readline-perl-perl <none>
ii make 4.0-8.1
ii perl-doc 5.20.2-3+deb8u9
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sys-syslog-xs-locking.patch
Type: text/x-diff
Size: 1571 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20180103/bdf037e8/attachment.patch>
More information about the Perl-maintainers
mailing list