CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2018/05/03 10:40:27
Modified files: sys/netinet : Tag: OPENBSD_6_3 ip_ah.c ip_esp.c ip_ipcomp.c Log message: Do not assume that mbufs within a chain do not have M_PKTHDR set. This could happen during fragment reassembly. Better check if we are dealing with the first mbuf of the chain. m_adj() changes the length of the mbuf, obviously. So when using this length to calulate the amount of adjustment, do not calculate it again after m_adj() with wrong input. Use a temporary variable to save the value. found by Maxime Villard; from NetBSD; OK markus@ claudio@ OpenBSD 6.3 errata 006