This is the mail archive of the glibc-bugs@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]

[Bug localedata/19671] Missing Sanity Check for malloc() in 'tst-fmon.c' & 'tst-numeric.c'


https://sourceware.org/bugzilla/show_bug.cgi?id=19671

--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  b2cae5d3f5f58e26fe3ceb9c9c2a4018e25785e6 (commit)
      from  4964bb4591b16b485eac3c5ecc8a383b528ea1a6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b2cae5d3f5f58e26fe3ceb9c9c2a4018e25785e6

commit b2cae5d3f5f58e26fe3ceb9c9c2a4018e25785e6
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Apr 22 17:11:09 2016 -0400

    tst-fmon/tst-numeric: switch malloc to static stack space [BZ #19671]

    The current test code doesn't check the return value of malloc.
    This should rarely (if ever) cause a problem, but rather than add
    some return value checks, just statically allocate the buffer on
    the stack.  This will never fail (or if it does, we've got much
    bigger problems that don't matter to the test).

-----------------------------------------------------------------------

Summary of changes:
 localedata/ChangeLog     |    7 +++++++
 localedata/tst-fmon.c    |    4 ++--
 localedata/tst-numeric.c |    4 ++--
 3 files changed, 11 insertions(+), 4 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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