diff options
author | William Tu <u9012063@gmail.com> | 2020-04-14 08:17:04 -0700 |
---|---|---|
committer | William Tu <u9012063@gmail.com> | 2020-04-19 09:18:31 -0700 |
commit | 925511592a4e239250aed8cf80bd4dffe4e47486 (patch) | |
tree | 4c77b8ea2236aad5d99f0462c4b06f95d1752fe7 /utilities | |
parent | 38c69ccf8e294109326d6c1d38a300175d6d370f (diff) | |
download | openvswitch-925511592a4e239250aed8cf80bd4dffe4e47486.tar.gz |
fatal-signal: Remove snprintf.
Function snprintf is not async-signal-safe. Replace it with
our own implementation. Example ovs-vswitchd.log output:
2020-03-25T01:08:19.673Z|00050|memory|INFO|handlers:2 ports:3
SIGSEGV detected, backtrace:
0x4872d9 <fatal_signal_handler+0x49>
0x7f4e2ab974b0 <killpg+0x40>
0x7f4e2ac5d74d <__poll+0x2d>
0x531098 <time_poll+0x108>
0x51aefc <poll_block+0x8c>
0x445ca9 <udpif_revalidator+0x289>
0x5056fd <ovsthread_wrapper+0x7d>
0x7f4e2b65f6ba <start_thread+0xca>
0x7f4e2ac6941d <clone+0x6d>
0x0 <+0x0>
Tested-at: https://travis-ci.org/github/williamtu/ovs-travis/builds/674901331
Tested-by: Yifeng Sun <pkusunyifeng@gmail.com>
Reviewed-by: Yifeng Sun <pkusunyifeng@gmail.com>
Signed-off-by: William Tu <u9012063@gmail.com>
Diffstat (limited to 'utilities')
0 files changed, 0 insertions, 0 deletions