I hit this bug. The analysis here appears correct to me. PIDFILE is a
static string (via a preprocessor define). The suggested fix of calling
str_dup() sounds correct.

Adding this to the top of a stunnel config file is a work-around:
pid = /var/run/stunnel4.pid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1901784

Title:
  configuration file without pid causes "Bad magic in options.c, line
  1059" crash on SIGHUP

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/stunnel4/+bug/1901784/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to