git: ppp - Fix minor overflow in protocol search

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Apr 10 22:30:25 PDT 2017


commit 75ecd1e8ae8717262bd746f764345f87167e6fc1
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Apr 10 22:28:36 2017 -0700

    ppp - Fix minor overflow in protocol search
    
    * Fix a minor redundant expression in sys/net/libalias/alias_irc.c
    
    * Fix a one-byte overflow in cdcontrol.  Not a security issue.
    
    * Fix an overflow in the protocol search.  This can only overflow a
      static array by one element and is not likely able to cause a security
      issue.
    
    Dragonfly-bugs: 3012 (dcb)

Summary of changes:
 sys/net/libalias/alias_irc.c   |  3 +--
 usr.sbin/cdcontrol/cdcontrol.c |  2 +-
 usr.sbin/ppp/link.c            | 14 ++++++++------
 3 files changed, 10 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/75ecd1e8ae8717262bd746f764345f87167e6fc1


-- 
DragonFly BSD source repository



More information about the Commits mailing list