Wireshark mailing list archives

Re: Crash in epan/geoip_db.c


From: Dario Lombardo <dario.lombardo.ml () gmail com>
Date: Wed, 22 Feb 2017 16:11:49 +0100

On Wed, Feb 22, 2017 at 3:55 PM, Evan Huus <eapache () gmail com> wrote:


checkAPI doesn't allow free because it also doesn't allow malloc; if the
malloced memory is coming from library internals somewhere, does the
library itself have a cleanup method we could call instead?


Unfortunately no. This is a corner case checkAPI is not able to handle.
A solution would be to try to push a cleanup function upstream, but I don't
know how they are about that. And I guess it would take time, while we have
a pending crash.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: