NetBSD/src jvWDiJH — sys/netipsec xform_ah.c
Simplify the IPv4 parser. Get the option length in 'optlen', and sanitize it earlier. A new check is added (off + optlen > skip). In the IPv6 parser we reuse 'optlen', and remove 'ad' as a result.
Version | Delta | File | |
---|---|---|---|
1.90 | +25 | -60 | sys/netipsec/xform_ah.c |
+25 | -60 | 1 files |