summaryrefslogtreecommitdiff
path: root/programs
diff options
context:
space:
mode:
authorFrancois Berder <[email protected]>2026-05-11 15:37:58 +0200
committerJerome Forissier <[email protected]>2026-06-03 17:22:24 +0200
commita38bf2121a398538730cd42a0cf3db8f80119c62 (patch)
tree42fce64a65afbe7f8cf416561fea96cdad1d3bc5 /programs
parent919af6e49b1c013e8ed138f16ad2196f66900547 (diff)
net: sntp: Check packet length in sntp_handler
Currently, the sntp_handler uses data in the UDP packet regardless of the actual packet size. A OOB read can occur if the packet is too small. Fix it by checking the packet length before extracting seconds from a SNTP packet. Signed-off-by: Francois Berder <[email protected]> Reviewed-by: Jerome Forissier <[email protected]>
Diffstat (limited to 'programs')
0 files changed, 0 insertions, 0 deletions