diff options
author | mjacob <mjacob@FreeBSD.org> | 2007-06-16 05:42:26 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2007-06-16 05:42:26 +0000 |
commit | 2865ae0149bc210aa79d18413d68b948d97cedc2 (patch) | |
tree | 3380f5fa9c9d1c868b8ad88b1d9be6f77705a1f9 /sys/netinet/sctp_output.c | |
parent | 8386bd54e6952445ae33df9caa51b3febaa93396 (diff) | |
download | FreeBSD-src-2865ae0149bc210aa79d18413d68b948d97cedc2.zip FreeBSD-src-2865ae0149bc210aa79d18413d68b948d97cedc2.tar.gz |
Check for a NULL return from rpcclnt_buildheader- it can fail if
the passed in auth_type is unacceptable to rpcauth_buildheader-
this avoids a null pointer panic. Clean up allocations if this
happens. This also quiets a gcc 4.2 complaint about ussing mheadend
without it being initialized.
Reviewed by: alfred
Diffstat (limited to 'sys/netinet/sctp_output.c')
0 files changed, 0 insertions, 0 deletions