Re: [PATCH] Add attributes to malloc-like functions
Jeff Johnston <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <CAOox84urXpT5RUBYBWJMYraZbDDbRg4ajTcCFo7T=4jVY2kEOw@mail.gmail.com> |
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 < [email protected]> 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 <[email protected]> >> --- >> 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 : [email protected] > PGP : Public key available on request. > > Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. > >