Actions
Bug #102
closedFix signal handler
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
This issue corresponds to my previous "feature request".
The functions "fprintf" and "exit" do not belong to the list of async-signal-safe functions.
See section "2.4.3 Signal Actions" from the document "2.4 Signal Concepts".
Should the corresponding calls be replaced by safe alternatives in your function "handler"?
source:src/mount/mtab.c@913315705b194edb2582911b9fcf9e97c6115bbf#L70
Actions