[Nagiosplug-devel] [ nagiosplug-Bugs-1912023 ] check_http segfaults with "-a x" option
SourceForge.net
noreply at sourceforge.net
Tue Mar 11 18:05:36 CET 2008
Bugs item #1912023, was opened at 2008-03-11 13:01
Message generated for change (Comment added) made by gdrago23
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1912023&group_id=29880
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Argument proccessing
Group: Release (specify)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Adam Buchbinder (gdrago23)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_http segfaults with "-a x" option
Initial Comment:
Plugin Version (-V output): check_http v1861 (nagios-plugins 1.4.11)
Plugin Name: check_http
Plugin Commandline showing issues: ./check_http -a x google.com
Operating System: Ubuntu Gutsy
Architecture: i686
Compiler: gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Backtrace:
(gdb) run -a x google.com
Starting program: /home/abuchbinder/src/nagiosplug/nagios-plugins-1.4.11/plugins/check_http -a x google.com
Program received signal SIGSEGV, Segmentation fault.
0x08050b73 in base64 (bin=0x806bf04 'A' <repeats 200 times>..., len=1) at base64.c:23
23 buf[i++] = base64_table[bin[j] >> 2];
(gdb) bt
#0 0x08050b73 in base64 (bin=0x806bf04 'A' <repeats 200 times>..., len=1) at base64.c:23
#1 0x0804b164 in check_http () at check_http.c:764
#2 0x0804e344 in main (argc=1094795585, argv=0x41414141) at check_http.c:166
(gdb)
The argument specified isn't valid, but it still shouldn't segfault.
----------------------------------------------------------------------
>Comment By: Adam Buchbinder (gdrago23)
Date: 2008-03-11 13:05
Message:
Logged In: YES
user_id=20994
Originator: YES
This has also been reported on the Ubuntu bug tracker:
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/201054
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1912023&group_id=29880
More information about the Devel
mailing list