summaryrefslogtreecommitdiffstats
path: root/Documentation/ide
diff options
context:
space:
mode:
authorVegard Nossum <vegard.nossum@gmail.com>2008-09-12 16:17:43 -0700
committerDavid S. Miller <davem@davemloft.net>2008-09-12 16:17:43 -0700
commit78d15e82754945ee9821fb491b57faf43abfb9d7 (patch)
treeac5695ad20aafc333729f2392465645a580a8b8a /Documentation/ide
parentf262b59becc3f557da6460232abac13706402849 (diff)
downloadblackbird-op-linux-78d15e82754945ee9821fb491b57faf43abfb9d7.tar.gz
blackbird-op-linux-78d15e82754945ee9821fb491b57faf43abfb9d7.zip
tcp_ipv6: fix use of uninitialized memory
inet6_rsk() is called on a struct request_sock * before we have checked whether the socket is an ipv6 socket or a ipv6- mapped ipv4 socket. The access that triggers this is the inet_rsk(rsk)->inet6_rsk_offset dereference in inet6_rsk(). This is arguably not a critical error as the inet6_rsk_offset is only used to compute a pointer which is never really used (in the code path in question) anyway. But it might be a latent error, so let's fix it. Spotted by kmemcheck. Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com> Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/ide')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud