]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-dhcp6-client: fix off-by-one error in parsing dhcp6 options 24002/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 14 Jul 2022 00:23:09 +0000 (09:23 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 14 Jul 2022 01:49:18 +0000 (10:49 +0900)
commit68870a46b3b5d3d5b51d1c27b4128b8fb5188ecb
tree99178bdeb92f42007a080d0f6ac74685b931b80e
parentd81b5a191e6f06fe51befe7c7fb20cff4ff4f762
sd-dhcp6-client: fix off-by-one error in parsing dhcp6 options

This fixes error in parsing message when the rapid commit option is
located at the end of the message.

Fixes an issure reported in #24002.
src/libsystemd-network/dhcp6-option.c
src/libsystemd-network/test-dhcp6-client.c