tst-fmon/tst-numeric: switch malloc to static stack space [BZ #19671]
commitb2cae5d3f5f58e26fe3ceb9c9c2a4018e25785e6
authorMike Frysinger <vapier@gentoo.org>
Fri, 22 Apr 2016 21:11:09 +0000 (22 17:11 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 23 Apr 2016 20:14:01 +0000 (23 16:14 -0400)
treec521f1356dd7d9f6577749d1e8c8492cfbbec068
parent4964bb4591b16b485eac3c5ecc8a383b528ea1a6
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).
localedata/ChangeLog
localedata/tst-fmon.c
localedata/tst-numeric.c