ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 6937] pcapng: shd_userappl in newly created files

Date: Sun, 11 Mar 2012 11:59:54 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6937

Jose Pedro Oliveira <jpo@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|x86                         |All
         OS/Version|Mac OS X 10.6               |All

--- Comment #2 from Jose Pedro Oliveira <jpo@xxxxxxxxxxxx> 2012-03-11 11:59:54 PDT ---
There are a couple of memory leaks in tshark and in editcap:

 * There are two structs

      wtapng_section_t *shb_hdr;
      wtapng_iface_descriptions_t *idb_inf;

   allocated by

      shb_hdr = wtap_file_get_shb_info(cf->wth);
      idb_inf = wtap_file_get_idb_info(cf->wth);

   that aren't being freed.


tshark.c: load_cap_file function
editcap.c: main function

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.