Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107147843
D48422.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
391 B
Referenced Files
None
Subscribers
None
D48422.diff
View Options
diff --git a/usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c b/usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
--- a/usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
+++ b/usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
@@ -502,7 +502,7 @@
outputs += rc;
- if ((u_int)rc < resp.nbindings) {
+ if ((u_int)rc < resp.nbindings || resp.nbindings == 0) {
snmp_pdu_free(&resp);
break;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 11, 8:48 PM (11 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15757587
Default Alt Text
D48422.diff (391 B)
Attached To
Mode
D48422: bsnmpwalk: Fix crash on invalid data
Attached
Detach File
Event Timeline
Log In to Comment