Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug #530 Fix heap overflow on zero or 0xFFFF packet length #532

Merged
merged 1 commit into from
Dec 27, 2018

Commits on Dec 27, 2018

  1. Bug #520 Fix heap overflow on zero or 0xFFFF packet length

    Add check for packets that report zero packet length. Example
    of fix:
    
        src/tcpprep --auto=bridge --pcap=poc16-get_l2len-heapoverflow --cachefile=/dev/null
        Warning: poc16-get_l2len-heapoverflow was captured using a snaplen of 17 bytes.  This may mean you have truncated packets.
        safe_pcap_next ERROR: Invalid packet length in tcpprep.c:process_raw_packets() line 334: packet length=0 capture length=0
    fklassen committed Dec 27, 2018
    Configuration menu
    Copy the full SHA
    6b830a1 View commit details
    Browse the repository at this point in the history