Some libpcap backends don't set the PCAP file number.
Make sure we don't trigger a fault when this file number is not set when CASPER and CAPSICUM is enabled.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 17624
Event Timeline
Comment Actions
Can you provide any test case for that?
contrib/tcpdump/tcpdump.c | ||
---|---|---|
2073 | VFileName at this point must be equals to NULL. |
Comment Actions
Can you provide any test case for that?
tcpdump -i mlx5_0
Given you have a mlx5 compatible PCI device and mlx5en/mlx5ib loaded.
contrib/tcpdump/tcpdump.c | ||
---|---|---|
2073 | I think I would just do that in first case. Because the other cansandbox depends on the HAVING CASPER or not. |
Comment Actions
@emaste : Stuck here for review:
https://github.com/the-tcpdump-group/tcpdump/pull/687
Comment Actions
Change was submitted to -current a while ago:
https://svnweb.freebsd.org/changeset/base/338613