Re: possible array out of bounds access in sys/netinet/sctp_output.c

2011-11-27 Thread Bruce Cran
On 27/11/2011 16:52, Michael Tüxen wrote: the reason why we don't use addr_type[] is that the same code is used on different plattforms and (at least at one point of time), using addr_type[] didn't work there. Unfortunately I don't think even the Windows 8 Driver Kit will support much more tha

Re: possible array out of bounds access in sys/netinet/sctp_output.c

2011-11-27 Thread Michael Tüxen
On Nov 27, 2011, at 5:24 PM, Jilles Tjoelker wrote: > On Sun, Nov 27, 2011 at 03:45:36PM +, Alexander Best wrote: >> i've been playing with clang tot and noticed the following error: > >> /usr/local/bin/clang -c -O3 -pipe -fno-inline-functions -fno-strict-aliasing >> -march=core2 -std=c99 -g

Re: possible array out of bounds access in sys/netinet/sctp_output.c

2011-11-27 Thread Davide Italiano
On Sun, Nov 27, 2011 at 5:24 PM, Jilles Tjoelker wrote: > On Sun, Nov 27, 2011 at 03:45:36PM +, Alexander Best wrote: >> i've been playing with clang tot and noticed the following error: > >> /usr/local/bin/clang -c -O3 -pipe -fno-inline-functions -fno-strict-aliasing >> -march=core2 -std=c99

Re: possible array out of bounds access in sys/netinet/sctp_output.c

2011-11-27 Thread Jilles Tjoelker
On Sun, Nov 27, 2011 at 03:45:36PM +, Alexander Best wrote: > i've been playing with clang tot and noticed the following error: > /usr/local/bin/clang -c -O3 -pipe -fno-inline-functions -fno-strict-aliasing > -march=core2 -std=c99 -g -fdiagnostics-show-option -fformat-extensions -Wall > -Wc

possible array out of bounds access in sys/netinet/sctp_output.c

2011-11-27 Thread Alexander Best
hi there, i've been playing with clang tot and noticed the following error: /usr/local/bin/clang -c -O3 -pipe -fno-inline-functions -fno-strict-aliasing -march=core2 -std=c99 -g -fdiagnostics-show-option -fformat-extensions -Wall -Wcast-qual -Winline -Wmissing-include-dirs -Wmissing-prototype