]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
Merge r309639 from head:
authorglebius <glebius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 6 Dec 2016 18:54:04 +0000 (18:54 +0000)
committerglebius <glebius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 6 Dec 2016 18:54:04 +0000 (18:54 +0000)
commitc1a2167239bba445bcfc21aea363fdfc2850665d
treed66c583a8390e42c2ff35982cd015eadec018d1c
parent0fb81163267876d0cdbbd51a6c004c0cd69a6d6a
Merge r309639 from head:

  Fix possible buffer overflow(s) in link_ntoa(3).

  A specially crafted sockaddr_dl argument can trigger a static buffer overflow
  in the libc library, with possibility to rewrite with arbitrary data following
  static buffers that belong to other library functions.

Reviewed by: kib
Security: FreeBSD-SA-16:37.libc

git-svn-id: svn://svn.freebsd.org/base/stable/9@309646 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/net/linkaddr.c