Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 2004 21:28:06 -0500 (EST)
From:      Hendrik Scholz <hendrik@scholz.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/63201: bento-fix: net/libunp
Message-ID:  <20040222022806.A6B0D39819@slurmcan.wormulon.net>
Resent-Message-ID: <200402220230.i1M2UAXW013661@freefall.freebsd.org>

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

>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@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:



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