Wireshark-bugs: [Wireshark-bugs] [Bug 1001] free() invalid pointer in dissect_802_3 at packet-ie
Date: Thu, 27 Jul 2006 09:44:39 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1001





------- Comment #5 from guy@xxxxxxxxxxxx  2006-07-27 09:44 GMT -------
I think some pre-ANSI C libraries could crash if a null pointer were passed to
free().

However, any C library with a free() that crashes if passed a null pointer is
not compliant with the C89 standard - the ANSI C spec says of free() that "If
'ptr' is a null pointer, no action occurs."

I'd expect glibc to be C89-compliant.


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