[Winpcap-bugs] Still an old error in new version (4.0 alpha)?
Gianluca Varenni
gianluca.varenni at cacetech.com
Thu Aug 10 15:44:32 GMT 2006
Hi.
As I replied back in August 2005, the leak is NOT in WinPcap, but in NetMon, the Microsoft COM component that we use to capture from VPN/dialup adapters, and the leak affects windows 2000, only (MS probably fixed such leak in XP/2003).
We cannot do anything to fix this problem (as it's not under our control).
Have a nice day
GV
----- Original Message -----
From: Le anh Dung
To: Winpcap-bugs at winpcap.org
Sent: Wednesday, August 09, 2006 6:10 PM
Subject: [Winpcap-bugs] Still an old error in new version (4.0 alpha)?
(version 4.0 alpha, still an old error of version 3.1 http://www.winpcap.org/pipermail/winpcap-users/2005-August/000244.html)Error: 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]; for(i=0;i<10000;i++) { /* Retrieve the device list */ if(pcap_findalldevs(&alldevs, errbuf) == -1) { fprintf(stderr,"Error in pcap_findalldevs: %s\n", errbuf); exit(1); } /* Scan the list printing every entry */ for(d=alldevs;d;d=d->next) { // ifprint(d); } /* Free the device list */ pcap_freealldevs(alldevs);
printf("\ni=%d",i); printf("\nPress any key and see Windows Task Manager\nyou will see memory of this process is increased"); getch(); } return 1;}Please check this problem!Thanks!
------------------------------------------------------------------------------
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.
------------------------------------------------------------------------------
_______________________________________________
Winpcap-bugs mailing list
Winpcap-bugs at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-bugs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-bugs/attachments/20060810/f630aed2/attachment.htm
More information about the Winpcap-bugs
mailing list