use of non-signal-safe functions in signal handlers
Bug #999487 reported by
Tuomo Tanskanen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart |
New
|
Undecided
|
Unassigned |
Bug Description
In signal handlers, there are calls to nih_warn(), nih_info() and nih_fatal(), which in turn invoke logger_kmsg(), which calls fopen(), fprintf() and fclose(), which are not signal safe.
To post a comment you must log in.
Also, exit() is used which is not signal safe and has potential atexit() issues, _exit() should be used instead.