Skip Menu |

This queue is for tickets about the Log-Syslog-Fast CPAN distribution.

Report information
The Basics
Id: 75470
Status: resolved
Priority: 0/
Queue: Log-Syslog-Fast

People
Owner: Nobody in particular
Requestors: cpan [...] bbkr.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.58
Fixed in: (no value)



Subject: Segmentation fault on missing name
use Log::Syslog::Fast ":all"; Log::Syslog::Fast->new( LOG_UNIX, "/dev/log", 0, LOG_USER, LOG_INFO, "foo", undef ); This code causes "Segmentation fault" on Linux b-gr-dev.v.l 3.0.17-vs2.3.2.1-beng #1 SMP Mon Jan 23 10:22:15 GMT 2012 i686 GNU/Linux This is perl, v5.10.0 built for i486-linux-gnu-thread-multi gcc version 4.3.2 (Debian 4.3.2-1.1) It should die in more graceful way with warning about param being required. Segfaulting is BAD :)
Thanks, updated in 0.59 so that all the string parameters are checked for definedness, and an exception is thrown .