1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00
Sören Tempel 498e531e2f dhcpv6: don't treat zero option as an end-of-payload marker
As far as I can tell, no DHCPv6 RFC specifies this option. The handling
for the zero option was added in #17736 by @benpicco to fix issues
encountered while trying to retrieve a DHCHPv6 lease. However, I
strongly suspect that the zero option was encountered in this case due
to an out-of-bounds read performed in RIOT's DHCPv6 client
implementation (i.e. the option parsing loop read beyond the packet
bounds). This issue was fixed in #18307 and I strongly suspect that it
should also fix the issue @benpicco originally encountered in #17736. As
such, I propose that we remove the if statement which treats the zero
option as an end-of-payload marker.

Fixes #18309
2022-09-22 20:08:00 +02:00
..
2022-09-16 14:00:35 +02:00
2022-03-11 09:24:12 +01:00
2022-01-10 12:21:40 +01:00
2022-01-13 17:50:59 +01:00
2022-06-10 11:02:40 +02:00
2022-09-16 14:00:35 +02:00
2021-12-07 13:00:58 +01:00
2021-12-10 18:54:29 +01:00
2022-03-11 09:20:24 +01:00
2022-09-16 14:00:35 +02:00
2021-12-07 16:31:15 +01:00
2022-09-16 14:00:35 +02:00
2022-02-11 12:38:21 +01:00
2022-09-03 23:25:01 +02:00
2021-11-24 17:54:44 +01:00
2022-08-12 15:36:29 +02:00
2022-09-15 11:26:22 +02:00
2022-07-22 16:06:36 +02:00
2022-09-16 13:15:45 +02:00