[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] flexmember: update comment
From: |
Bruno Haible |
Subject: |
Re: [PATCH] flexmember: update comment |
Date: |
Sat, 25 May 2019 15:07:15 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-145-generic; KDE/5.18.0; x86_64; ; ) |
Hi Paul,
> I gave that a shot by installing the attached.
Thanks.
I found the relevant references now, in [1]. The fact that some people see it
not
as a property of the malloc() function but as a GCC bug [2] indicates that it
should
also apply when alloca() is used to allocate the memory. (In this case, a
program
would not crash when it makes out-of-bounds accesses on the stack, but valgrind
may still report accesses to uninitialized memory.)
Bruno
[1]
https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=4c32543a4f05706ca3a8c8d583a5fb35d0e58828
[2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66661