CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2018/07/21 09:24:55
Modified files: sbin/dhclient : options.c Log message: Reading past the end of a buffer is bad, Even if the extra byte is always there. Even if the byte contains innocuous data that isn't used. Eeven if a particular level of optimization of a particular compiler avoids it by processing things backwards. Bad. So simplify and correct logic. Perhaps even proof the code against future generations of clever compilers. Pointed out by Brandon Falk. Thanks! ok millert@ tb@