MITRECND / chopshop

Protocol Analysis/Decoder Framework
https://chopshop.readthedocs.org/
489 stars 112 forks source link

UnboundLocalError in heartbleed_payload module #50

Closed lehins closed 9 years ago

lehins commented 9 years ago

Here is the traceback:

Exception in module heartbleed_payloads -- Traceback: 
Traceback (most recent call last):
  File "/..../chopshop/shop/ChopNids.py", line 566, in handleTcpStreams
    output = code.handleStream(tcpd)
  File "/..../chopshop/modules/heartbleed_payloads.py", line 93, in handleStream
    tcp.discard(count)
UnboundLocalError: local variable 'count' referenced before assignment