From: SourceForge.net <no...@so...> - 2007-01-28 14:10:38
|
Patches item #1645698, was opened at 2007-01-26 16:21 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312694&aid=1645698&group_id=12694 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: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: 5.4: Infinite loop in 64-bit signed integer encoding Initial Comment: There is a bug in the encoding of negative 64-bit integers, resulting in an infinite loop. Patch attached. ss...@in... ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2007-01-28 06:10 Message: Logged In: NO You can reproduce by including a ASN_OPAQUE_I64 variable in a MIB module, and return a negative value in it (apart from -1) in the get/getnext handler. E.g., I modified the "example" MIB module (if this webform allowed me to, I would have attached the patch) to return different variable types to test a tool that I was writing; the agent would stop responding when I requested (e.g. by using snmpget) a negative ASN_OPAQUE_I64. CPU utilization would go near 100%, and memory use would grow steadily until I killed snmpd. ss...@in... ---------------------------------------------------------------------- Comment By: Thomas Anders (tanders) Date: 2007-01-27 06:37 Message: Logged In: YES user_id=848638 Originator: NO Could you please give some more detailed description on how this bug manifests itself currently? How to reproduce? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312694&aid=1645698&group_id=12694 |