Wireshark-dev: Re: [Wireshark-dev] Checking address in WMEM

From: Evan Huus <eapache@xxxxxxxxx>
Date: Wed, 25 Jan 2017 12:50:37 -0500
On my phone, but the short version is that there's no way to check this, and no efficient way to build it.

Evan

On Jan 25, 2017 8:17 AM, "Dario Lombardo" <dario.lombardo.ml@xxxxxxxxx> wrote:
I want to check if an address belongs to a wmem scope. Basically I want to do

func(allocator, address)
{
  ...
  wmem_realloc(allocator, address)
  ...
}

that fails if address doesn't belong to allocator scope. Any idea on how can I check if address belongs to it?
Thanks.
Dario.

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
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