[<prev] [next>] [day] [month] [year] [list]
Message-ID: <521F37E4.9030501@secunet.com>
Date: Thu, 29 Aug 2013 14:00:36 +0200
From: Thomas Egerer <thomas.egerer@...unet.com>
To: netdev@...r.kernel.org
CC: shemminger@...l.org
Subject: [PATCH] ip/xfrm: Fix potential SIGSEGV when printing extra flags
The git-commit dc8867d0, that added support for displaying the
extra-flags of a state, introduced a potential segfault.
Trying to show a state without the extra-flag attribute and show_stats
enabled, would cause the NULL pointer in tb[XFRMA_SA_EXTRA_FLAGS] to be
dereferenced.
Signed-off-by: Thomas Egerer <thomas.egerer@...unet.com>
---
ip/ipxfrm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
View attachment "0001-ip-xfrm-Fix-potential-SIGSEGV-when-printing-extra-fl.patch" of type "text/x-patch" (441 bytes)
Powered by blists - more mailing lists