diff options
author | Peter Wemm <peter@FreeBSD.org> | 1997-05-26 03:33:48 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1997-05-26 03:33:48 +0000 |
commit | 159fe49b6f7b549a780f2c0965d086a877255df0 (patch) | |
tree | 11ee74c3e915e9e0889d5def6a1993fcca70a3a8 /sys | |
parent | 8800a82c29275f87500c2c337dafbe6f07c3b249 (diff) | |
download | src-159fe49b6f7b549a780f2c0965d086a877255df0.tar.gz src-159fe49b6f7b549a780f2c0965d086a877255df0.zip |
Uninitialised inp variable in div_bind().
Submitted by: Åge Røbekk <aagero@aage.priv.no>
Notes
Notes:
svn path=/head/; revision=26147
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ip_divert.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_divert.c b/sys/netinet/ip_divert.c index d64a4cb48f8c..e3fab296d443 100644 --- a/sys/netinet/ip_divert.c +++ b/sys/netinet/ip_divert.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ip_divert.c,v 1.8 1997/04/03 05:14:41 davidg Exp $ + * $Id: ip_divert.c,v 1.9 1997/05/24 17:23:11 peter Exp $ */ #include <sys/param.h> @@ -311,6 +311,7 @@ div_bind(struct socket *so, struct mbuf *nam, struct proc *p) int s; int error; + imp = sotoinpcb(so); s = splnet(); error = in_pcbbind(inp, nam, p); splx(s); |