]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix a use of an uninitialized variable by makeing sure
authorMichael Tuexen <tuexen@FreeBSD.org>
Sat, 25 Oct 2014 09:25:29 +0000 (09:25 +0000)
committerMichael Tuexen <tuexen@FreeBSD.org>
Sat, 25 Oct 2014 09:25:29 +0000 (09:25 +0000)
commitb3817112b4f25d270dcb32b333fab6eb9417e91a
treecaa6aa4324f75a4e40aaa860a6723ac15ad26b88
parentd6738a4a176b6297be4f21ff7c5334514e185ac1
Fix a use of an uninitialized variable by makeing sure
that sctp_med_chunk_output() always initialized the reason_code
instead of relying on the caller.
The variable is only used for debugging purpose.
This issue was reported by Peter Bostroem from Google.

MFC after: 3 days
sys/netinet/sctp_output.c