Fix a flaw in printing the MAC
Subsystems (2)
PATCH 1/1 Fix a flaw in printing the MAC
The flaw was in skipping the second byte in MAC header due to increasing the pointer AND indexed access starting at '1'.
Signed-off-by Joerg Marx <[email protected]>
--- net/ipv6/netfilter/ip6t_LOG.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
net/ipv6/netfilter/ip6t_LOG.c +1 -1
@@ -410,7 +410,7 @@ fallback:if (p !=NULL ) {sb_add (m,"%02x" , *p++);for (i =1 ; i < len; i++) -sb_add (m,":%02x" , p[i]); +sb_add (m,":%02x" , *p++); }sb_add (m," " );
Signature · 1 line
1.7.1
Quoted 3 lines · Joerg Marx
The flaw was in skipping the second byte in MAC header due to increasing the pointer AND indexed access starting at '1'.
Applied, thanks Jörg.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html