This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] malloc: Always call memcpy in _int_realloc [BZ #24027]
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: DJ Delorie <dj at redhat dot com>
- Cc: libc-alpha at sourceware dot org, mail at nh2 dot me
- Date: Mon, 31 Dec 2018 21:35:06 +0100
- Subject: Re: [PATCH] malloc: Always call memcpy in _int_realloc [BZ #24027]
- References: <xnbm51l9vh.fsf@greed.delorie.com>
* DJ Delorie:
> This is OK with me. I suspect gcc's potential inlining and/or our
> target-specific memcpy()'s might offset any performance lost anyway.
>
> Reviewed-by: DJ Delorie <dj@redhat.com>
Thanks. Do you think we should treat this as a vulnerability? Can
this code path be reached in a default configuration?