commit 88b59fa59633f7b2abac3df68d3bc78f3c745c27
Author: Aaron LI <[email protected]>
Date: Thu May 27 19:10:10 2021 +0800
libutil: Fix a minor NULL deref issue in humanize_number()
Modify buf after checking it's not NULL. Although it's certainly a
misuse to pass a NULL as buf but with len > 0, fix it FWIW.
Summary of changes:
lib/libutil/humanize_number.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/88b59fa59633f7b2abac3df68d3bc78f3c745c27
--
DragonFly BSD source repository