[Bug 283909] bsnmpget/walk: coredump when SNMPPASSWD is empty

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 11 Jan 2025 04:46:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283909

--- Comment #5 from Gleb Smirnoff <glebius@FreeBSD.org> ---
On Fri Jan 10 20:30:19  2025 UTC, markj@FreeBSD.org wrote:
> Aren't we leaving passwd[0] uninitialized if slen == 0?

Agreed. We should strlcpy() unconditionally.

-- 
You are receiving this mail because:
You are the assignee for the bug.