acadia-newlib/newlib/libc
Lucio Andrés Illanes Albornoz d5daede26c Fix vfwscanf(3) assignment suppression flag handling bug
newlib's vfwscanf(3) (or specifically, __SVFWSCANF_R()) fails to correctly set
the assignment-suppressing character (`*') flag[1] which, when present in the
formatting string, results in undefined behaviour comprising retrieving and
dereferencing a pointer that was not supplied by the caller as such or at all.
When compared to the vfscanf(3) implementation, this would appear to be over
the missing goto match_failure statement preceded by the flags test seen below.
Hence, this patch (re)introduces it.

[1] <http://pubs.opengroup.org/onlinepubs/009695399/functions/fwscanf.html>

--
2019-06-03 10:38:40 +02:00
..
argz
ctype update to Unicode 11.0 2019-01-13 23:33:51 +01:00
errno
iconv
include Fix <sys/_types.h> issues with <stddef.h> 2019-06-03 10:20:15 +02:00
locale newlib: Drop incorrect const qualifier from __loadlocale parameter 2018-10-10 11:18:20 +02:00
machine RISC-V: Add size optimized memcpy, memmove, memset and strcmp. 2019-05-22 17:36:57 -07:00
misc RISC-V: Do not use _init/_fini 2018-07-30 10:47:57 +02:00
posix scandir: Add support for struct dirent::d_type 2019-02-01 10:37:00 +01:00
reent
search search: Fix Berkeley DB hash code for 16-bit targets. 2018-09-06 17:29:49 +02:00
signal Fix newlib functions perror()/psignal() not to use writev(). 2018-07-05 15:33:49 -04:00
ssp AMD GCN Port contributed by Andrew Stubbs <ams@codesourcery.com> 2019-01-15 10:48:08 -05:00
stdio Fix vfwscanf(3) assignment suppression flag handling bug 2019-06-03 10:38:40 +02:00
stdio64
stdlib Bump release to 3.1.0 for yearly snapshot 2018-12-31 23:40:11 -05:00
string update to Unicode 11.0 2019-01-13 23:33:51 +01:00
sys Align comments and spaces in libgloss/arm/crt0.S and newlib/libc/sys/arm/crt0.S to ease further code alignment. 2019-04-12 14:34:47 +01:00
syscalls
time newlib: strftime: fix over-enthusiastic fix from 0283642f35 2018-08-08 23:59:34 +02:00
unix Fix comparison between two character arrays 2018-07-30 09:36:49 +02:00
xdr xdr_private.h needs sys/types.h for u_char 2018-09-06 14:10:42 +02:00
Makefile.am
Makefile.in
aclocal.m4
configure Bump release to 3.1.0 for yearly snapshot 2018-12-31 23:40:11 -05:00
configure.in
libc.in.xml
libc.texinfo
saber Remove matherr, and SVID and X/Open math library configurations 2019-01-23 10:46:24 +01:00
sys.tex