newlib/newlib/libc
Sebastian Huber 757c0871f7 Prevent use of uninitialized file lock
The CHECK_INIT() is necessary before the _newlib_flockfile_start() since
this would use otherwise acquire an uninitialized lock which gets
initialized after this leading to a corrupt release.

newlib/ChangeLog
2015-07-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>

	libc/stdio/fputs.c (_puts_r): Add missing CHECK_INIT().
	libc/stdio/gets.c (_gets_r): Add missing _REENT_SMALL_CHECK_INIT() and
	CHECK_INIT().  Use _stdin_r() to get the file pointer instead of stdin.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-07-02 09:38:06 +02:00
..
argz Correct argz_replace behaviour when memory is exhausted. 2015-06-01 10:09:04 +02:00
ctype Regenerate Makefile.in 2015-06-29 12:29:50 +01:00
errno 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
iconv 2013-11-25 Joel Sherrill <joel.sherrill@oarcorp.com> 2013-11-26 14:38:58 +00:00
include sys/signal.h requires sys/cdefs.h 2015-06-22 10:49:29 +02:00
locale Fix mismatched parentheses in documentation. 2015-06-24 12:23:25 +01:00
machine Update the assembler code to support old ARM architectures. 2015-06-01 12:49:37 +02:00
misc 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
posix Regenerate Makefile.in 2015-06-29 12:29:50 +01:00
reent * libc/reent/reent.c (_reclaim_reent): Free also _misc and 2013-06-24 11:34:03 +00:00
search * libc/include/stdlib.h (__bsd_qsort_r): Declare. 2014-12-05 16:21:04 +00:00
signal Fix makedoc markup used in texinfo source 2015-06-23 16:14:39 +01:00
stdio Prevent use of uninitialized file lock 2015-07-02 09:38:06 +02:00
stdio64 Regenerate Makefile.in 2015-06-29 12:29:50 +01:00
stdlib Regenerate Makefile.in 2015-06-29 12:29:50 +01:00
string Regenerate Makefile.in 2015-06-29 12:29:50 +01:00
sys Add <sys/_stdint.h> for FreeBSD compatibility 2015-04-23 21:57:10 +02:00
syscalls 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
time Fix SYNOPSIS prototypes without marked up parameter names 2015-06-23 17:30:22 +01:00
unix * libc/unix/getcwd.c (getcwd): Close directory also in case of an error. 2014-10-16 15:00:59 +00:00
xdr 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
Makefile.am 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org> 2011-01-05 17:18:16 +00:00
Makefile.in 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
aclocal.m4 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
configure 2014-12-18 Jeff Johnston <jjohnstn@redhat.com> 2014-12-18 20:30:11 +00:00
configure.in 2014-07-04 Bin Cheng <bin.cheng@arm.com> 2014-07-04 17:21:45 +00:00
libc.texinfo Fix newlib texinfo source so 'info libc' and 'info libm' work 2015-03-16 15:02:22 +00:00
saber import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sys.tex 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:36:05 +00:00