Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 443240 Details for
Bug 591194
net-analyzer/nagios-plugins-snmp: check_snmp_storage - segmentation fault when -w and -c is reversed and type not specified
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix default type name if not given
check_snmp_storage-deftype-fix.patch (text/plain), 548 bytes, created by
Fredric Johansson
on 2016-08-13 15:55:28 UTC
(
hide
)
Description:
Fix default type name if not given
Filename:
MIME Type:
Creator:
Fredric Johansson
Created:
2016-08-13 15:55:28 UTC
Size:
548 bytes
patch
obsolete
>--- nagios-plugins-snmp-old/src/check_snmp_storage.c 2016-08-13 17:05:42.124908540 +0200 >+++ nagios-plugins-snmp/src/check_snmp_storage.c 2016-08-13 17:07:12.714908443 +0200 >@@ -244,8 +244,10 @@ > if (liste[12].present==0) { printf(_("Put storage name\n")); print_usage();} > > /* Check types */ >- if (liste[16].present==0) o_type_num=0; >- else { >+ if (liste[16].present==0) { >+ o_type_num=0; >+ o_type=o_typeok[o_type_num]; >+ } else { > for (i=0;i<num_typeok;i++) { > if (strcmp(o_typeok[i],o_type)==0) {o_type_num=i;break;} > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 591194
: 443240