Skip to content

slirp: Don't duplicate packet in tcp_reass

Brett Nash requested to merge nashidau/libslirp:master into master

When debug is enabled, we duplicate the packet in tcp_reass, but the packet may be used elsewhere in the caller, resulting in a use after free.

This makes valgrind debugging a little trickier, but makes it crash a lot less.

Signed-off-by: Brett Nash nash@fb.com

Merge request reports