[Winpcap-users] [ANNOUNCE] WinPcap 3.1 has been released

Gianluca Varenni gianluca.varenni at cacetech.com
Mon Aug 8 05:02:23 GMT 2005


We are aware of the "leak". The problem is that the leak is not in WinPcap, but in the NetMon, the Microsoft COM component that WinPcap uses to capture packets from dialup adapters. On Windows 2000 that COM component is buggy, and leaks memory whenever WinPcap asks NetMon to provide a list of adapters (i.e. whenever you call pcap_findalldevs).

I'm sorry for that.

Have a nice day

  ----- Original Message ----- 
  From: Le anh Dung 
  To: winpcap-users at winpcap.org 
  Sent: Sunday, August 07, 2005 9:10 PM
  Subject: Re: [Winpcap-users] [ANNOUNCE] WinPcap 3.1 has been released

  Thanks for your new release.
  But it still have old error of beta version:
  Error is: not free memory in function pcap_findalldevs???

  The source test is demo program: iflist project in developer pack. My enviroment: Win2kPro sp4, Visual C++6...
  I change this source, replace the main function as following: 
  (put a for loop to check function: pcap_findalldevs)

  int i;
  int main()
   pcap_if_t *alldevs;
   pcap_if_t *d;
   char errbuf[PCAP_ERRBUF_SIZE+1];

    /* Retrieve the device list */
    if(pcap_findalldevs(&alldevs, errbuf) == -1)
     fprintf(stderr,"Error in pcap_findalldevs: %s\n", errbuf);
    /* Scan the list printing every entry */
   //  ifprint(d);

    /* Free the device list */

    printf("\nPress any key and see Windows Task Manager\nyou will see memory of this process is increased");

   return 1;

  Please check this problem!

  Start your day with Yahoo! - make it your home page 


  Winpcap-users mailing list
  Winpcap-users at winpcap.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20050807/d2d562a8/attachment.html

More information about the Winpcap-users mailing list