Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 1999 15:52:44 -0500 (EST)
From:      lab@gta.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/14958: memory leak in UDP blackhole processing in udp_usrreq.c for current
Message-ID:  <199911172052.PAA06285@sec.gta.com>

next in thread | raw e-mail | index | archive | help

>Number:         14958
>Category:       kern
>Synopsis:       memory leak in UDP blackhole processing in udp_usrreq.c
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 17 12:50:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Larry Baird
>Release:        FreeBSD 4.0
>Organization:
Global Technology Associates
>Environment:

	FreeBSD 4.0 source code for udp_usreq.c

>Description:

	The logic for blackhole processing does not free mbufs if the
	blackhole flag is set.

>How-To-Repeat:

	Send some UDP packets to unopened ports on a FreeBSD 4.0 box with
	UDP blackhole turned on.

>Fix:
*** udp_usrreq.c        Wed Nov 10 11:58:47 1999
--- /tmp/udp_usrreq.c   Wed Nov 17 15:50:58 1999
***************
*** 307,312 ****
--- 307,314 ----
  #endif
                if (!blackhole)
                        icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_PORT, 0, 0);
+               else
+                       goto bad;
                return;
        }

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911172052.PAA06285>