]> git.ipfire.org Git - thirdparty/suricata.git/commit
Fix live reload segv when startup isn't complete 982/head
authorVictor Julien <victor@inliniac.net>
Tue, 20 May 2014 11:03:09 +0000 (13:03 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 5 Jun 2014 12:04:15 +0000 (14:04 +0200)
commitcc54250cf9a87ffeed9c30b9f874386e6f34500d
treec94b7dc5c237ee7eb175e379f738caebb15f9761
parent2c20c9d409737b8be1ab75261662ba2a59c94497
Fix live reload segv when startup isn't complete

If a live reload signal was given before the engine was fully started
up (e.g. pcap file thread waiting for a disk to spin up), a segv could
occur.

This patch only enables live reloads after the threads have been
started up completely.
src/detect-engine.c
src/suricata.c