https://github.com/torvalds/linux
Revision e51171019bb0e1f9fb57c25bd2e38ce652eaea27 authored by YOSHIFUJI Hideaki on 29 May 2008, 10:55:05 UTC, committed by YOSHIFUJI Hideaki on 04 June 2008, 19:02:30 UTC
Commit 7cbca67c073263c179f605bdbbdc565ab29d801d ("[IPV6]: Support
Source Address Selection API (RFC5014)") introduced NULL dereference
of asoc to sctp_v6_get_saddr in net/sctp/ipv6.c.
Pointed out by Johann Felix Soden <johfel@users.sourceforge.net>.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
1 parent 7dccf1f
Raw File
Tip revision: e51171019bb0e1f9fb57c25bd2e38ce652eaea27 authored by YOSHIFUJI Hideaki on 29 May 2008, 10:55:05 UTC
[SCTP]: Fix NULL dereference of asoc.
Tip revision: e511710
gcc-x86_64-has-stack-protector.sh
#!/bin/sh

echo "int foo(void) { char X[200]; return 3; }" | $1 -S -xc -c -O0 -mcmodel=kernel -fstack-protector - -o - 2> /dev/null | grep -q "%gs"
if [ "$?" -eq "0" ] ; then
	echo $2
fi
back to top