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

Ostinato crashes, when opening pcap stream containing STP packets #213

Closed
ghost opened this issue Apr 9, 2017 · 3 comments
Closed

Ostinato crashes, when opening pcap stream containing STP packets #213

ghost opened this issue Apr 9, 2017 · 3 comments
Labels
bug

Comments

@ghost
Copy link

@ghost ghost commented Apr 9, 2017

Ostinato V0.8, tested on Debian 9 (Stretch) and TinyCore Linux, tshark v2.2.5

When opening a pcap stream ostinato crashes with segmentation fault.

Here the log of ostinato and the pcap file crash.zip

@ghost
Copy link
Author

@ghost ghost commented Apr 9, 2017

Ostinato doesn't crash on all pcap files, only on some special ones. I assume it's the spanning tree BPDU that irritates Ostinato.

@pstavirs pstavirs changed the title Ostinato crashes, when opening pcap stream Ostinato crashes, when opening pcap stream containing STP packets Apr 10, 2017
@pstavirs pstavirs added the bug label Apr 10, 2017
@pstavirs
Copy link
Owner

@pstavirs pstavirs commented Apr 10, 2017

@Ehlers Thanks for reporting the issue and with a PCAP file showing the problem which made it easy to repro and debug.

The problem will happen only when the PCAP contains a STP protocol packet.

@pstavirs
Copy link
Owner

@pstavirs pstavirs commented Apr 10, 2017

Fixed by 8b2541f

@pstavirs pstavirs closed this Apr 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.