Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 3069] g_array_append_val should not accept pointer as argu

Date: Thu, 20 Nov 2008 12:21:47 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3069


Jaap Keuter <jaap.keuter@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
            Summary|g_array_append_val should   |g_array_append_val should
                   |not acdept pointer as       |not accept pointer as
                   |argument in                 |argument in
                   |wtap_register_encap_type    |wtap_register_encap_type




--- Comment #6 from Jaap Keuter <jaap.keuter@xxxxxxxxx>  2008-11-20 12:21:46 PDT ---
Committed revision 26816.

Note that WTAP_NUM_ENCAP_TYPES is actually a macro calling
wtap_get_num_encap_types(), making sure the array is initialized before use of
any of the functions. They should stay.


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