| commit | 81ab4dedbe40bf8f106d9bc6808076309cc4a795 | [log] [tgz] |
|---|---|---|
| author | Robert Lubos <robert.lubos@nordicsemi.no> | Mon Nov 03 12:41:19 2025 +0100 |
| committer | Dan Kalowsky <dank@deadmime.org> | Mon Nov 10 09:04:40 2025 -0800 |
| tree | 5dfb7bb8c264aa48d35c228f8deae198ce970421 | |
| parent | 57ab471c3acd4d826d1dbbed13c3bfc2048e7792 [diff] |
net: icmp: Verify the address family before calling the callback Check the address family of the packet before passing it to a ICMP handler, to avoid scenarios where ICMPv4 packet is paseed to a ICMPv6 handler and vice versa. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no> (cherry picked from commit 587d9e6a4a2d20e77093bc507a5d940f1b8fec9f)