[Nagiosplug-devel] [ nagiosplug-Bugs-1815362 ] check_snmp buffer overflow when parsing snmpget replies

SourceForge.net noreply at sourceforge.net
Wed Oct 17 23:22:18 CEST 2007


Bugs item #1815362, was opened at 2007-10-17 21:22
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1815362&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: General plugin execution
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: fabiodds (fabiodds)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_snmp buffer overflow when parsing snmpget replies

Initial Comment:
I have found a buffer overflow in check_snmp. It copies to the perfstr char array from snmpget replies without checking if it grows too big, which is somewhere around 17,000 characters on my system.

I have attached a patch that corrects this problem.

-- fabiodds


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1815362&group_id=29880




More information about the Devel mailing list