From owner-freebsd-net@freebsd.org Wed Jan 27 18:49:28 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2635CA6E58F for ; Wed, 27 Jan 2016 18:49:28 +0000 (UTC) (envelope-from mmcco@mykolab.com) Received: from mx-out01.mykolab.com (mx01.mykolab.com [95.128.36.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E958D157D for ; Wed, 27 Jan 2016 18:49:26 +0000 (UTC) (envelope-from mmcco@mykolab.com) X-Virus-Scanned: amavisd-new at kolabnow.com X-Spam-Flag: NO X-Spam-Score: -2.9 X-Spam-Level: X-Spam-Status: No, score=-2.9 tagged_above=-10 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, FREEMAIL_FROM=0.001, RP_MATCHES_RCVD=-0.001] autolearn=ham Received: from mx04.mykolab.com (mx04.mykolab.com [10.20.7.102]) by mx-out01.mykolab.com (Postfix) with ESMTPS id 49A4161DDC for ; Wed, 27 Jan 2016 19:43:56 +0100 (CET) Date: Wed, 27 Jan 2016 13:43:52 -0500 From: Michael McConville To: freebsd-net@freebsd.org Subject: Undefined shift overflow in dhclient(8) Message-ID: <20160127184352.GA3148@thinkpad.swarthmore.edu> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jan 2016 18:49:28 -0000 I fixed this in OpenBSD yesterday. Details: https://marc.info/?l=openbsd-tech&m=145377854103866&w=2 Index: sbin/dhclient/dhclient.c =================================================================== --- sbin/dhclient/dhclient.c (revision 294200) +++ 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;