[Winpcap-users] pcap_freealldevs() causing program crash.

Gianluca Varenni gianluca.varenni at cacetech.com
Wed Nov 16 19:39:59 GMT 2005


Maybe it's an obvious question: are you actually *copying" the strings in pcap_if_t* (e.g. pcap_if_t::name and pcap_if_t::description)?

Have a nice day
GV




  ----- Original Message ----- 
  From: Eric Hansen 
  To: winpcap-users at winpcap.org 
  Sent: Wednesday, November 16, 2005 11:12 AM
  Subject: Re: [Winpcap-users] pcap_freealldevs() causing program crash.


  No, what I have so far is just all the information stored in arrays, and I display that info. after calling freealldevs();

  MqX: Thanks, but it's still causing me trouble (I really appreciate it though).


  On 11/16/05, Guy Harris <guy at alum.mit.edu > wrote:
    Eric Hansen wrote:
    > Well, I got my program to not crash (I put the freealldevs() at the very 
    > end of my init function).  But, now, the device names are "encrypted"
    > (they show up in weird characters now, unlike before when they showed up
    > like they should).

    You're not referring to the devices after the pcap_freealldevs() call, 
    right?
    _______________________________________________
    Winpcap-users mailing list
    Winpcap-users at winpcap.org
    https://www.winpcap.org/mailman/listinfo/winpcap-users




  -- 
  http://tenshi.honeyblade.net (my poetry)

  "You wanted this ending to happen...ROMANTISUTO!" 


------------------------------------------------------------------------------


  _______________________________________________
  Winpcap-users mailing list
  Winpcap-users at winpcap.org
  https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20051116/5d7354c1/attachment.htm


More information about the Winpcap-users mailing list