bin/59674: typo in contrib/tcp_wrappers/socket.c

Vaclav Rehak vasek at zoom-int.cz
Tue Nov 25 02:20:19 PST 2003


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


More information about the freebsd-bugs mailing list