Hi, now in emem_scrub_memory() there are two comments which deny themselves, one that we don't need to align pointer, and second that we need :)
I don't know when using chunks (if glib allocator is used) memory is aligned. I believe it's true on glibc system. But mmap() always return aligned pointer, and we always align size in emem_alloc_chunk() so I believe it's ok at least in unix world. Regards ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
