Menu

#38 System.OverflowException in srand()

pending
milans
None
5
2012-07-03
2012-05-28
Anonymous
No

on the OID after 1.3.6.1.4.1.1347.40.10.2.1.0 (Integer32): 4 (during a walk), on a Kyocera laser printer, i get System.OverflowException

Message: ASN.1 decoding error. Invalid data length.
Calling function: target.Request()

at SnmpSharpNet.IpAddress.decode(Byte[] buffer, Int32 offset)
at SnmpSharpNet.Vb.decode(Byte[] buffer, Int32 offset)
at SnmpSharpNet.VbCollection.decode(Byte[] buffer, Int32 offset)
at SnmpSharpNet.Pdu.decode(Byte[] buffer, Int32 offset)
at SnmpSharpNet.SnmpV1Packet.decode(Byte[] buffer, Int32 length)
at SnmpSharpNet.UdpTarget.Request(Pdu pdu, IAgentParameters agentParameters)

i could port forward the WAN to the printer for SNMP UDP if you like. Just ask. my email address is james {dot} col {spam} ton {at} gmail {dawt} com

Discussion

  • milans

    milans - 2012-06-03
    • assigned_to: nobody --> msinadinovic
     
  • milans

    milans - 2012-06-03

    The only way OverflowException can happen is if IP address value being decoded is not 4 bytes in length. Can you post a packet capture showing the packet on which decoding fails?

     
  • milans

    milans - 2012-07-03
    • status: open --> pending
     
MongoDB Logo MongoDB