summaryrefslogtreecommitdiffstats
path: root/lib/audit.c
diff options
context:
space:
mode:
authorJarek Poplawski <jarkao2@gmail.com>2009-09-27 12:57:02 +0200
committerDavid S. Miller <davem@davemloft.net>2009-10-01 01:44:12 +0200
commit8c185ab6185bf5e67766edb000ce428269364c86 (patch)
treef866c6daea8affedbe04bba6948bd688e9500498 /lib/audit.c
parentnet: restore tx timestamping for accelerated vlans (diff)
downloadlinux-8c185ab6185bf5e67766edb000ce428269364c86.tar.xz
linux-8c185ab6185bf5e67766edb000ce428269364c86.zip
ax25: Fix possible oops in ax25_make_new
In ax25_make_new, if kmemdup of digipeat returns an error, there would be an oops in sk_free while calling sk_destruct, because sk_protinfo is NULL at the moment; move sk->sk_destruct initialization after this. BTW of reported-by: Bernard Pidoux F6BVP <f6bvp@free.fr> Signed-off-by: Jarek Poplawski <jarkao2@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/audit.c')
0 files changed, 0 insertions, 0 deletions