diff options
| author | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-08-10 08:33:53 +0300 |
|---|---|---|
| committer | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-08-10 08:33:53 +0300 |
| commit | 52a01730fd02c2579f474c01ebf72a312f737825 (patch) | |
| tree | 4b1a1ec3a7135ffaf1a66472412499762ef31035 /.github/workflows | |
| parent | 6019e1d14937731be7c88628fc7c1253aaa701e7 (diff) | |
| download | accel-ppp-52a01730fd02c2579f474c01ebf72a312f737825.tar.gz accel-ppp-52a01730fd02c2579f474c01ebf72a312f737825.zip | |
dhcpv6: check option length before reading the status code
print_status() reads the 2-byte status code at offset 4 of the option,
but parse_option() only guarantees that the option header plus its
declared payload length are within the packet. A Status Code option with
a payload length below 2 as the last option in a packet therefore made
print_status() read past the end of the received buffer.
Skip the option if its payload is too short to hold the code.
Diffstat (limited to '.github/workflows')
0 files changed, 0 insertions, 0 deletions
