From nobody Sat Jan 11 04:46:08 2025 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YVQvj0Yj5z5lF6y for ; Sat, 11 Jan 2025 04:46:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YVQvh6KHtz4bVY for ; Sat, 11 Jan 2025 04:46:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736570768; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lxgd3s7K90HVhslW9df5nCSrE66A9XjO5jgonW3JgE0=; b=ezLGDOCD6iGX7jw8DwMgn5ieqgpKN4fZiOsAe3O/yYZEO3SMMbMsxRNAhxgiUhucgVeUVv DOOJoF/Jh8zkdidJpokYboaMwI9uwZ1uD9eqn8yHrHYwN9Pa6IjhAujAimkRe4th8qqKj0 ZfNHHfxXy2jSW7NSO3+O3NQ+a8IelCPqav+tu00QXEAlL10pOPlW5sY6oDETK36jvBQEDU IMS5SrmCI90uzWasN1hcMUZSYjmCo6yTUNzWdr0IXZTmVOKa+nhCzHePVqutclCNQRTxOH sq+NwY/hceLV/0PQsFDDyJdadGVN858FO+qOyxgcEtUeivQUdBnLn1BmlnOnDg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736570768; a=rsa-sha256; cv=none; b=j9qv+PExOtCBpp/7Es71NHoiREmt3URQCzpvAsDoMVdhqzgiuUBvq3X6FT1U09aOAeMOy8 jzjOLcvsROJ4jTsY0pdMz7iHJ2JUNIYj90m0TUVlY7HN4uAvpinlAj7ojAavkDHEi+yF71 fvR7krqupy/ixSx6+piiyPPIwU/zrumI/giWKzjCvl5FmZfAI9Ji9HOMHd1IVGmjzybyNU TNKJBz9eq5/dB3IQ3YennTjRQ7JkLhIAdXmVNe0s9d9DXBCzFHkLNfMFmcXBf1nbUdRbqG Lm7/6gUo9igEpAY0EuzGvWCH1cmXgmwLZgIsdgueWBiLPtOsHmI9SxyNONYjNg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YVQvh5xgHzknT for ; Sat, 11 Jan 2025 04:46:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 50B4k8TW007581 for ; Sat, 11 Jan 2025 04:46:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50B4k8Ur007580 for bugs@FreeBSD.org; Sat, 11 Jan 2025 04:46:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 283909] bsnmpget/walk: coredump when SNMPPASSWD is empty Date: Sat, 11 Jan 2025 04:46:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: glebius@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283909 --- Comment #5 from Gleb Smirnoff --- On Fri Jan 10 20:30:19 2025 UTC, markj@FreeBSD.org wrote: > Aren't we leaving passwd[0] uninitialized if slen =3D=3D 0? Agreed. We should strlcpy() unconditionally. --=20 You are receiving this mail because: You are the assignee for the bug.=