summaryrefslogtreecommitdiffstats
path: root/net/sctp/input.c
diff options
context:
space:
mode:
authorVlad Yasevich <vladislav.yasevich@hp.com>2007-05-23 17:11:37 +0200
committerVladislav Yasevich <vxy@hera.kernel.org>2007-06-13 22:44:41 +0200
commitfe979ac169970b3d12facd6565766735862395c5 (patch)
tree970e7093b9a86f9c6903871100a10faf62168a58 /net/sctp/input.c
parent[SCTP]: Allow unspecified port in sctp_bindx() (diff)
downloadlinux-fe979ac169970b3d12facd6565766735862395c5.tar.xz
linux-fe979ac169970b3d12facd6565766735862395c5.zip
[SCTP] Fix leak in sctp_getsockopt_local_addrs when copy_to_user fails
If the copy_to_user or copy_user calls fail in sctp_getsockopt_local_addrs(), the function should free locally allocated storage before returning error. Spotted by Coverity. Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com> Acked-by: Sridhar Samudrala <sri@us.ibm.com>
Diffstat (limited to 'net/sctp/input.c')
0 files changed, 0 insertions, 0 deletions