[PATCH] Add attributes to malloc-like functions
Jeff Johnston
jjohnstn@redhat.com
Wed Oct 10 01:03:00 GMT 2018
I'm fine with it. If you can push it, fine, otherwise, please generate the
patch using git format-patch and attach it.
-- Jeff J.
On Mon, Oct 8, 2018 at 1:32 AM, Sebastian Huber <
sebastian.huber@embedded-brains.de> wrote:
> Ping.
>
> On 28/09/2018 11:32, Sebastian Huber wrote:
>
>> These attributes help static analysis tools to produce less false
>> positives, e.g. double free warnings.
>>
>> Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
>> ---
>> newlib/libc/include/stdio.h | 2 +-
>> newlib/libc/include/stdlib.h | 5 +++--
>> newlib/libc/include/string.h | 4 ++--
>> newlib/libc/include/wchar.h | 2 +-
>> 4 files changed, 7 insertions(+), 6 deletions(-)
>>
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone : +49 89 189 47 41-16
> Fax : +49 89 189 47 41-09
> E-Mail : sebastian.huber@embedded-brains.de
> PGP : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
>
More information about the Newlib
mailing list