summaryrefslogtreecommitdiff
path: root/zebra/kernel_socket.c
diff options
context:
space:
mode:
authorwhichbug <whichbug@github.com>2022-02-03 12:01:31 -0500
committerwhichbug <whichbug@github.com>2022-02-04 16:07:37 -0500
commit50044ec7fe129e0a74d3a679dd29fe17ce30e6bf (patch)
treefa49ccb1eba50d924d4e490268fa7ef4c8c9b88f /zebra/kernel_socket.c
parenta89a78236cb03a2afa6dcc4227598964e6ca1a31 (diff)
babeld: fix #10487 by adding a check on packet length
The body length of a packet should satisfy the condition: packetlen >= bodylen + 4. Otherwise, heap overflows may happen. Signed-off-by: whichbug <whichbug@github.com>
Diffstat (limited to 'zebra/kernel_socket.c')
0 files changed, 0 insertions, 0 deletions