[Bug 218517] ppp fails adding route with error Value too large to be stored in data type

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 10 17:10:19 UTC 2018


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

--- Comment #28 from commit-hook at freebsd.org ---
A commit references this bug:

Author: eugen
Date: Sat Feb 10 17:09:52 UTC 2018
New revision: 329105
URL: https://svnweb.freebsd.org/changeset/base/329105

Log:
  ppp(8): fix code producing debugging logs

  Fix several cases when long buffer is copied to shorter one
  using snprintf that results in contents truncation and
  clobbering unsaved errno value and creation of misleading logs.

  PR:           218517
  Approved by:  avg (mentor)
  MFC after:    1 month

Changes:
  head/usr.sbin/ppp/defs.h
  head/usr.sbin/ppp/iface.c
  head/usr.sbin/ppp/ip.c
  head/usr.sbin/ppp/ipv6cp.c
  head/usr.sbin/ppp/ncpaddr.c
  head/usr.sbin/ppp/route.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-net mailing list