Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Nov 2003 10:52:13 +0100 (CET)
From:      Vaclav Rehak <vasek@zoom-int.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/59674: typo in contrib/tcp_wrappers/socket.c
Message-ID:  <20031125095213.533B52A194@reeva.zoom-int.cz>
Resent-Message-ID: <200311251020.hAPAKG7M073659@freefall.freebsd.org>

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


>Number:         59674
>Category:       bin
>Synopsis:       typo in contrib/tcp_wrappers/socket.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 25 02:20:15 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Vaclav Rehak
>Release:        FreeBSD 5.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD reeva 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Thu Nov 13 12:37:26 CET 2003 vasek@reeva.zoom-int.cz:/usr/obj/usr/src/sys/REEVA i386


	
>Description:
	
        /usr/src/contrib/tcp_wrappers/socket.c wouln't compile
        with #define really_paranoid  

>How-To-Repeat:
	
>Fix:

	
--- socket.c    Wed Jul  4 22:16:18 2001
+++ socket.c.fix        Thu Nov 13 15:46:17 2003
@@ -114,7 +114,7 @@
            return;                             /* give up */
        }
 #ifdef really_paranoid
-       memset(buf, 0 sizeof(buf));
+       memset(buf, 0, sizeof(buf));
 #endif
     }
 #ifdef INET6


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



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