NetBSD-Bugs archive

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

lib/39689: Failure in memset sys/net/if_spppsubr.c



>Number:         39689
>Category:       lib
>Synopsis:       Failure in memset sys/net/if_spppsubr.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 03 17:35:00 +0000 2008
>Originator:     Henning Petersen
>Release:        
>Organization:
>Environment:
>Description:
diff -u -r1.113 if_spppsubr.c
--- sys/net/if_spppsubr.c       22 Aug 2008 12:13:18 -0000      1.113
+++ sys/net/if_spppsubr.c       3 Oct 2008 16:06:41 -0000
@@ -3450,7 +3450,7 @@
                                continue;
                        }
 
-                       memset(&suggestaddr, 0, sizeof(&suggestaddr));
+                       memset(&suggestaddr, 0, sizeof(suggestaddr));
                        if (collision && nohisaddr) {
                                /* collision, hisaddr unknown - Conf-Rej */
                                type = CONF_REJ;

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index