<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.sbin/bsnmpd, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=stable%2F13</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=stable%2F13'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2025-12-29T12:21:20Z</updated>
<entry>
<title>bsnmpd: avoid warnings about too-long initializer strings</title>
<updated>2025-12-29T12:21:20Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2025-12-26T13:27:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=497aab21bd59ee2b0d02970079ab556b15914578'/>
<id>urn:sha1:497aab21bd59ee2b0d02970079ab556b15914578</id>
<content type='text'>
Mark `UTC` as `__non_string`, to avoid a warning from clang 21 similar
to:

    usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptc.c:339:29: error: initializer-string for character array is too long, array size is 3 but initializer has size 4 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Werror,-Wunterminated-string-initialization]
    --- all_subdir_usr.sbin ---
      339 |         static const char UTC[3] = "UTC";
          |                                    ^~~~~

MFC after:	3 days

(cherry picked from commit 3054e22e4524df24908d7e9379681c1ccf829b93)
</content>
</entry>
<entry>
<title>bsnmpd: Fix an error message</title>
<updated>2025-08-08T19:46:32Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2025-08-01T23:11:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6d2bc21c67310479747d7d05eac9cd13821b50c7'/>
<id>urn:sha1:6d2bc21c67310479747d7d05eac9cd13821b50c7</id>
<content type='text'>
MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D51678

(cherry picked from commit bf304a40cde836435a55e938865fc12ce81cf0fe)
</content>
</entry>
<entry>
<title>snmp_pf: fix pfInterfacesIfRefsState</title>
<updated>2025-04-03T05:57:30Z</updated>
<author>
<name>Kristof Provost</name>
<email>kp@FreeBSD.org</email>
</author>
<published>2025-03-19T06:08:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=861b8faca9e3644cc88e391e852bf034e5cfc298'/>
<id>urn:sha1:861b8faca9e3644cc88e391e852bf034e5cfc298</id>
<content type='text'>
pfInterfacesIfRefsState was described as 'Null', which upset bsnmpwalk's attempt
to resolve OIDs to symbolic names:

&gt; bsnmpwalk: Error adding leaf pfInterfacesIfRefsState to list

This was done back in d6d3f01e0a339, because we don't return this value any
more. Return it to 'Unsigned32', which fixes things, even if we still don't
actually return this value.

While here update the ORGANIZATION to reflect current ownership.

Reviewed by:	philip
MFC after:	2 weeks
Event:		Tokyo Hackathon 202503
Differential Revision:	https://reviews.freebsd.org/D49413

(cherry picked from commit 712309a64512c7e4ebf0e10de8a5c59d5a185ae8)
</content>
</entry>
<entry>
<title>libbsnmptools: avoid uninitialized snmptoolctx-&gt;passwd with empty password</title>
<updated>2025-01-20T14:28:54Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2025-01-11T05:08:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d6fbd34acbbc90ae106fc1fa08d83d5f25d59039'/>
<id>urn:sha1:d6fbd34acbbc90ae106fc1fa08d83d5f25d59039</id>
<content type='text'>
The removed check left snmptoolctx-&gt;passwd pointer to uninitialized
memory.  Always calling strlcpy(3) would guarantee that with empty
password it will point to empty string.

Submitted by:	markj
PR:		283909

(cherry picked from commit 3999a860d6e899de98b1025317d2d0ef1f83255f)
(cherry picked from commit 0bfbd30663b68a851ebf24667d121c6891c86827)
</content>
</entry>
<entry>
<title>bsnmpwalk: Fix crash on invalid data</title>
<updated>2025-01-12T19:32:38Z</updated>
<author>
<name>Shteryana Shopova</name>
<email>syrinx@FreeBSD.org</email>
</author>
<published>2025-01-10T20:30:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=748e7bc1521c87d292e8762c59e415ac687f69a2'/>
<id>urn:sha1:748e7bc1521c87d292e8762c59e415ac687f69a2</id>
<content type='text'>
PR:		258570
Reported by:	Robert Morris &lt;rtm@lcs.mit.edu&gt;
Reviewed by:	emaste, markj
Differential Revision: https://reviews.freebsd.org/D48422

(cherry picked from commit f021e3573519ff192fc708cda9ca4bba264c96f7)
(cherry picked from commit 7fbbab2d326bcbfa1592c6104b745cd5973f5aaa)
</content>
</entry>
<entry>
<title>snmp_wlan: Fix a couple of type mismatches in function prototypes</title>
<updated>2024-11-30T18:57:59Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2023-11-15T02:36:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=801be06b90066772c7e1091ee2c0b877ce1bdd22'/>
<id>urn:sha1:801be06b90066772c7e1091ee2c0b877ce1bdd22</id>
<content type='text'>
Reported by:	GCC 13 via -Wenum-int-mismatch
Reviewed by:	imp, emaste
Differential Revision:	https://reviews.freebsd.org/D42582

(cherry picked from commit cc61bf9eccd46592704f3e7bc189c94ccae8f524)
</content>
</entry>
<entry>
<title>MFC: unbreak BEGEMOT-LM75-MIB.txt</title>
<updated>2023-09-14T11:58:23Z</updated>
<author>
<name>Eugene Grosbein</name>
<email>eugen@FreeBSD.org</email>
</author>
<published>2023-08-31T02:47:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4cc4afd6660e8680716ed54d13086e26833c4dd3'/>
<id>urn:sha1:4cc4afd6660e8680716ed54d13086e26833c4dd3</id>
<content type='text'>
The MIB has several bugs making it unusable. Fix it.

Reported-by:	Eugene M. Zheganin &lt;eugene@zhegan.in&gt;

(cherry picked from commit 872e89405684eac984e9004bdfeeb540e818ed74)
</content>
</entry>
<entry>
<title>snmp_pf: use libpfctl's pfctl_get_status() rather than DIOCGETSTATUS</title>
<updated>2023-09-07T19:23:07Z</updated>
<author>
<name>Kristof Provost</name>
<email>kp@FreeBSD.org</email>
</author>
<published>2023-08-29T15:16:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=84983bf36458ea94a6e07492db4aab4a77e4bbed'/>
<id>urn:sha1:84983bf36458ea94a6e07492db4aab4a77e4bbed</id>
<content type='text'>
Prefer libpfctl functions over direct access to the ioctl whenever
possible. This will allow subsequent removal of DIOCGETSTATUS (in 15) as
there already is an nvlist-based alternative.

MFC after:	1 week
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D41650

(cherry picked from commit 6fbb9fbf7d659574512d706912e8fd0576b13573)
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: two-line lua tag</title>
<updated>2023-08-23T17:43:33Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:32:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a7385d2a904a5e7d8cde296faf9f0b399f318cdb'/>
<id>urn:sha1:a7385d2a904a5e7d8cde296faf9f0b399f318cdb</id>
<content type='text'>
Remove /^--\n--\s*\$FreeBSD\$.*$\n/

Similar commit in main:
(cherry picked from commit 9636a14538f5)
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: two-line nroff pattern</title>
<updated>2023-08-23T17:43:31Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:32:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b144e70a3325e033163aa4e6e15d0446e245702d'/>
<id>urn:sha1:b144e70a3325e033163aa4e6e15d0446e245702d</id>
<content type='text'>
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/

Similar commit in main:
(cherry picked from commit fa9896e082a1)
</content>
</entry>
</feed>
