Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2016 06:29:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 208007] [patch] Int overflow in dhclient(1)
Message-ID:  <bug-208007-8@https.bugs.freebsd.org/bugzilla/>

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

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208007

            Bug ID: 208007
           Summary: [patch] Int overflow in dhclient(1)
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: hiren@FreeBSD.org
          Keywords: patch

Date: Mon, 14 Mar 2016 21:55:42 -0400
From: Michael McConville <mmcco@mykolab.com>
To: freebsd-net@freebsd.org
Subject: Int overflow in dhclient(1)


I sent this a few weeks ago, but it never got applied:

https://marc.info/?l=freebsd-net&m=145392057613453&w=2

Here's my explanation for the same fix in OpenBSD:

https://marc.info/?l=openbsd-tech&m=145377854103866&w=2

Thanks for your time,
Michael


Index: sbin/dhclient/dhclient.c
===================================================================
--- sbin/dhclient/dhclient.c    (revision 296886)
+++ sbin/dhclient/dhclient.c    (working copy)
@@ -138,7 +138,7 @@
 findproto(char *cp, int n)
 {
        struct sockaddr *sa;
-       int i;
+       unsigned int i;

        if (n == 0)
                return -1;

-- 
You are receiving this mail because:
You are the assignee for the bug.


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