diff options
author | Phil Sutter <phil@nwl.cc> | 2022-12-20 15:02:16 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2022-12-21 17:50:31 +0100 |
commit | 3514a72f5a03ee7c6c268c31446b7a6994d4569d (patch) | |
tree | e141584bf25d848077f9d867316411820db36e7f /src/event.c | |
parent | afb27eebc7ffbd55db53412eca51e5a4cae2f432 (diff) |
conntrack: Fix potential array out of bounds access
If the link target length exceeds 'sizeof(tmp)' bytes, readlink() will
return 'sizeof(tmp)'. Using this value as index is illegal.
Fixes: b031cd2102d9b ("conntrack: pretty-print the portid")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'src/event.c')
0 files changed, 0 insertions, 0 deletions