ports/63201: bento-fix: net/libunp

Hendrik Scholz hendrik at scholz.net
Sun Feb 22 02:30:10 UTC 2004


>Number:         63201
>Category:       ports
>Synopsis:       bento-fix: net/libunp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 21 18:30:09 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hendrik Scholz
>Release:        FreeBSD 5.2.1-RC amd64
>Organization:
>Environment:
System: FreeBSD slurmcan.wormulon.net 5.2.1-RC FreeBSD 5.2.1-RC #0: Sat Jan 31 12:38:34 GMT 2004 root at ngoc.NUXI.com:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:

Fix inet_ntop() in libunp as discovered by bento:
http://bento.freebsd.org/errorlogs/amd64-5-latest/libunp-1.0_1.log

>How-To-Repeat:
	
>Fix:

	

--- patch-libfree:inet_ntop.c begins here ---
--- libfree/inet_ntop.c.orig	Sat Feb 21 21:25:08 2004
+++ libfree/inet_ntop.c	Sat Feb 21 21:25:21 2004
@@ -57,7 +57,7 @@
 	int af;
 	const void *src;
 	char *dst;
-	size_t size;
+	socklen_t size;
 {
 	switch (af) {
 	case AF_INET:
--- patch-libfree:inet_ntop.c ends here ---


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



More information about the freebsd-ports-bugs mailing list