NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/44153: Missing parenthesis in faithd.c .



>Number:         44153
>Category:       bin
>Synopsis:       Missing parenthesis in faithd.c .
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 26 07:50:00 +0000 2010
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Missing parenthesis in faithd.c .
>How-To-Repeat:

>Fix:
diff -u -r1.32 faithd.c
--- usr.sbin/faithd/faithd.c    15 Dec 2007 16:32:07 -0000      1.32
+++ usr.sbin/faithd/faithd.c    22 Oct 2010 05:33:32 -0000
@@ -593,7 +593,7 @@
        }
 
        if (memcmp(dst, &faith_prefix,
-                       sizeof(struct in6_addr) - sizeof(struct in_addr) == 0) {
+                       sizeof(struct in6_addr) - sizeof(struct in_addr)) == 0) 
{
                return 1;
        }
        return 0;



Home | Main Index | Thread Index | Old Index