git: DragonFly_RELEASE_4_8 libdevstat - Limit sscanf field, fix redundant condition
Sascha Wildner
swildner at crater.dragonflybsd.org
Sun Jul 30 13:16:32 PDT 2017
commit fa109a007a56f8ca8353c1ba10d5357a55ead547
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Mon Apr 10 22:13:55 2017 -0700
libdevstat - Limit sscanf field, fix redundant condition
* Limit a sscanf field to MAXHOSTNAMELEN - 1.
* Remove a redundant condition already tested by the first part of a
conditional.
Dragonfly-bugs: 3009 (dcb)
Summary of changes:
lib/libc/net/ether_addr.c | 6 +++++-
lib/libdevstat/devstat.c | 8 ++------
2 files changed, 7 insertions(+), 7 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fa109a007a56f8ca8353c1ba10d5357a55ead547
--
DragonFly BSD source repository
More information about the Commits
mailing list