[Winpcap-users] Winpcap minor crash in pcap_findalldevs

Carlo Medas carlomedas at gmail.com
Sat Feb 21 05:11:25 PST 2009


Dears,

sorry but I've been using winpcap 4.0.0, now managed to upgrade to 4.0.2 and
the issue is no more happening at all.
Br,

Carlo

On Sat, Feb 21, 2009 at 1:53 PM, Carlo Medas <carlomedas at gmail.com> wrote:

> Hi guys,
> just a minor-bug signalation on pcap_findalldevs in a very special case.
>
> I'm using winpcap 4.0.2 on Windows Vista Home Edition, on my laptop.
> If I'm executing the code snippet below while I just enabled my wireless
> network adapter, so that it could be actually in initialization mode,
> acquiring addresses etc.
>
> The pcap_findalldevs produces a crash of the application.
>
> Kindly let me know if you'd need further informations or you want me to do
> some other test.
>
>
> Code snippet:
> pcap_if_t* alldevs;
> char errbuf[PCAP_ERRBUF_SIZE+1];
>
> if(pcap_findalldevs(&alldevs, errbuf) == -1)
> {
> return;
>  }
>
>
> Thanks and best regards,
>
> \Carlo Medas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20090221/9f7b4db7/attachment.htm 


More information about the Winpcap-users mailing list