]> git.proxmox.com Git - grub2.git/commit
net/ip: Do IP fragment maths safely
authorDaniel Axtens <dja@axtens.net>
Mon, 20 Dec 2021 08:41:21 +0000 (19:41 +1100)
committerJulian Andres Klode <julian.klode@canonical.com>
Wed, 8 Jun 2022 10:41:03 +0000 (12:41 +0200)
commit2a4f87df650fd2ef639b48b43fc834b97b6b2bfa
treef3d434c6fef6a4de0453fbbf95f17c3f9a105bd1
parent4ea64c827f8bc57180772fd5671ddd010cb7b2ed
net/ip: Do IP fragment maths safely

This avoids an underflow and subsequent unpleasantness.

Fixes: CVE-2022-28733
Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/net/ip.c