[Winpcap-bugs] pcap_compile is not reenterable

Gianluca Varenni gianluca.varenni at cacetech.com
Mon Jul 21 16:49:57 GMT 2008


Guram,

we are aware of the issue.
It's a bug present in the original libpcap sources as well. We are planning 
to fix the problem in one of the future versions of WinPcap. At the moment 
the workaround is protecting all the calls to pcap_compile with a global 
critical section/mutex so that only one thread at a time calls pcap_compile.

Have a nice day
GV

----- Original Message ----- 
From: "Guram Dukashvili" <white_raven at lipetsk.ru>
To: <winpcap-bugs at winpcap.org>
Sent: Thursday, July 10, 2008 3:42 AM
Subject: [Winpcap-bugs] pcap_compile is not reenterable


> Hi.
> If two or more threads call pcap_compile on different handles at same time 
> then segmentation fault throws.
>
> By.
> _______________________________________________
> Winpcap-bugs mailing list
> Winpcap-bugs at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-bugs 



More information about the Winpcap-bugs mailing list