[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-net
Subject: Undefined shift overflow in dhclient(8)
From: Michael McConville <mmcco () mykolab ! com>
Date: 2016-01-27 18:43:52
Message-ID: 20160127184352.GA3148 () thinkpad ! swarthmore ! edu
[Download RAW message or body]
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;
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic