summaryrefslogtreecommitdiffstats
path: root/src/vcl/vcl_private.h
diff options
context:
space:
mode:
authorTianyu Li <tianyu.li@arm.com>2021-09-08 13:52:55 +0800
committerDamjan Marion <dmarion@me.com>2021-09-13 13:44:24 +0000
commit006bbc4945bc7df58c3e631f5626acb2555aa171 (patch)
tree222a6e3c0f80222d1c3a7ac8a4e2e2608cfca0bc /src/vcl/vcl_private.h
parent596c45b22211c9af243b624dc037f58c0aa1c302 (diff)
snort: fix epoll_wait unsigned return value
When epoll_wait return -1, access array epoll_events[i] out of bound and lead to segmentation fault. 1. Change return value to signed return value 2. Skip non fatal error e.g. EINTR Type: fix Signed-off-by: Tianyu Li <tianyu.li@arm.com> Change-Id: I4ece118999402ec6054baf0efb52419151655def
Diffstat (limited to 'src/vcl/vcl_private.h')
0 files changed, 0 insertions, 0 deletions