Re: [PATCH 1/2] net: dhcp6: prevent an infinite loop parsing IA options

Jerome Forissier <[email protected]>
Newsgroups gmane.comp.boot-loaders.u-boot
Message-ID <681e16be-ffd5-4dd0-8b18-3bd92f560a8d__25125.3264070087$1786627399$gmane$org@arm.com>
On Fri, 07 Aug 2026 16:52:21 +0200, Shahriyar Jalayeri wrote:
> dhcp6_parse_ia_options() walks the sub-options encapsulated in a received
> IA_NA / IA_TA option and advances its cursor by the sub-option's declared
> length alone. A sub-option with a length of zero never advances the
> cursor, so the while loop spins forever and the DHCPv6 client hangs. The
> advance also omits the sub-option header, so it is short even for
> well-formed options.
> 
> [...]

Applied to u-boot-net branch for-main, thanks!

[1/2] net: dhcp6: prevent an infinite loop parsing IA options
      (no commit info)

Best regards,
-- 
Jerome Forissier <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.