Thread (2 messages) 2 messages, 2 authors, 2011-09-20

Re: [PATCH net-next] ipv6: fix a possible double free

flat view

From: David Miller <davem@davemloft.net>
Date: 2011-09-20 19:12:35

From: <redacted>
Date: Tue, 20 Sep 2011 13:52:16 +0800
From: Roy.Li <redacted>

When calling snmp6_alloc_dev fails, the snmp6 relevant memory
are freed by snmp6_alloc_dev. Calling in6_dev_finish_destroy
will free these memory twice.

Double free will lead that undefined behavior occurs.

Signed-off-by: Roy.Li <redacted>
Acked-by: Eric Dumazet <redacted>
Applied and queued up for -stable, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help