This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] malloc/malloc.c: Mitigate null-byte overflow attacks


Hi Moritz,

Thanks so much for looking into this. I haven't had time to analyze the patch, but it is surely better than my original bungled attempt. Thanks for adding a more correct defense here!


Cheers
Chris

On Thu, Oct 26, 2017 at 8:49 PM, DJ Delorie <dj@redhat.com> wrote:

Moritz Eckert <m.eckert@cs.ucsb.edu> writes:
> So for my current patch idea, would you prefer it with or without a
> macro and keeping the check inside unlink or not?

I think your original patch is OK as is, I'm just waiting to give
Florian a chance to offer a second opinion.  IIRC he's on vacation this
week.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]