aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDeepak Saxena <[email protected].(none)>2005-04-25 22:40:05 +0000
committerRussell King <[email protected]>2005-04-25 22:40:05 +0000
commit2fac6f3fec2303649e9cd572255776cb93d3f888 (patch)
tree091344bb955417f32aa60f9693612fc06d1079a4 /net/unix/af_unix.c
parent[PATCH] ARM: 2650/1: PXA27x sleep - workaround Errata 39 & 50 (Patch 2667) (diff)
downloadkernel-2fac6f3fec2303649e9cd572255776cb93d3f888.tar.gz
kernel-2fac6f3fec2303649e9cd572255776cb93d3f888.zip
[PATCH] ARM: 2653/1: Fix memset and memzero macro double-reference of parameters
Patch from Deepak Saxena The current memset() and memzero() macros on ARM reference the incoming parameters more than once and this can cause uninted side-effects. The issue was found while debugging SCTP protocol and with the specific usage of memzero(skb_put(skb,size),size). This call would call skb_put(skb,size) twice leading to badness. The fixed version copies the incoming parameters into local variables and uses those instead. Signed-off-by: Deepak Saxena Signed-off-by: Russell King
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions