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 :)