Hi guys,<div><br></div><div>just a minor-bug signalation on pcap_findalldevs in a very special case.</div><div><br></div><div>I&#39;m using winpcap 4.0.2 on Windows Vista Home Edition, on my laptop.</div><div>If I&#39;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.</div>
<div><br></div><div>The pcap_findalldevs produces a crash of the application.</div><div><br></div><div>Kindly let me know if you&#39;d need further informations or you want me to do some other test.</div><div><br></div><div>
<br></div><div>Code snippet:</div><div><div><span class="Apple-tab-span" style="white-space:pre">        </span>pcap_if_t* alldevs;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>char errbuf[PCAP_ERRBUF_SIZE+1];</div>
<div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>if(pcap_findalldevs(&amp;alldevs, errbuf) == -1)<br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>{</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>return;<br>
</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>}</div><div><br></div></div><div><br></div><div>Thanks and best regards,</div><div><br></div><div>\Carlo Medas</div>