forked from wireshark/wireshark
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
capture-sync: Fix deadlock with lots of interfaces.
This code is still fragile, it should not deadlock even if there is too much to read, but this at least hacks around the problem. To avoid huge stacks, allocate the buffer on the heap. Fixes wireshark hang with about 50 interfaces... Signed-off-by: Ben Greear <greearb@candelatech.com>
- Loading branch information
1 parent
1fd7c1d
commit b12141f
Showing
2 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters