Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Jan 2025 04:56:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 283909] bsnmpget/walk: coredump when SNMPPASSWD is empty
Message-ID:  <bug-283909-227-3j9yZ9Q34k@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-283909-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #2 from Gleb Smirnoff <glebius@FreeBSD.org> ---
I reproduced it:

    at /usr/src/FreeBSD/contrib/bsnmp/lib/snmpcrypto.c:274
274                             authbuf[i] = passwd[(loop + i) % pwdlen];

pwdlen is 0 here.

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

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-283909-227-3j9yZ9Q34k>