opnsense-src/lib/libc/stdio
Ed Maste 9515313b26 libc: Fix size range check in setvbuf
From enh at google.com via openbsd-tech mailing list via pfg@:

The existing test is wrong for LP64, where size_t has twice as many
relevant bits as int, not just one. (Found by inspection by
rprichard.)
2022-10-04 12:03:56 -04:00
..
_flock_stub.c
asprintf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
clrerr.c
dprintf.c
fclose.3
fclose.c
fcloseall.c
fdopen.c
feof.c
ferror.3 libc: Add HISTORY sections to the manual pages 2022-05-05 18:46:32 +02:00
ferror.c
fflush.3 libc manpages: various improvements from NetBSD 2020-06-14 05:59:30 +00:00
fflush.c libc/stdio: only roll FILE state back on EINTR 2022-09-03 04:06:41 +03:00
fgetc.c
fgetln.3 fgetln(3): Add a Caveats Section 2020-06-18 13:13:04 +00:00
fgetln.c GC a historical artifact. 2019-02-07 23:17:44 +00:00
fgetpos.c
fgets.3 libc: Add HISTORY sections to the manual pages 2022-05-05 18:46:32 +02:00
fgets.c
fgetwc.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
fgetwln.3
fgetwln.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
fgetws.3
fgetws.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
fileno.c
findfp.c
flags.c
floatio.h
flockfile.3
fmemopen.c
fopen.3 libc manpages: various improvements from NetBSD 2020-06-14 05:59:30 +00:00
fopen.c
fopencookie.3
fopencookie.c
fprintf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
fpurge.c
fputc.c libc: provide fputc_unlocked 2020-02-02 19:45:12 +00:00
fputs.3 stdio: provide _unlocked variants of fflush, fputc, fputs, fread, fwrite 2020-01-30 03:31:16 +00:00
fputs.c stdio: provide _unlocked variants of fflush, fputc, fputs, fread, fwrite 2020-01-30 03:31:16 +00:00
fputwc.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
fputws.3
fputws.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
fread.3 libc: Add HISTORY sections to the manual pages 2022-05-05 18:46:32 +02:00
fread.c fread.c: fix undefined behavior 2022-01-16 00:43:56 +01:00
freopen.c
fscanf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
fseek.3 libc: Add HISTORY sections to the manual pages 2022-05-05 18:46:32 +02:00
fseek.c
fsetpos.c
ftell.c
funopen.3
funopen.c
fvwrite.c libc/stdio: only roll FILE state back on EINTR 2022-09-03 04:06:41 +03:00
fvwrite.h
fwalk.c
fwide.3
fwide.c
fwprintf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
fwrite.c stdio: provide _unlocked variants of fflush, fputc, fputs, fread, fwrite 2020-01-30 03:31:16 +00:00
fwscanf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
getc.3 Add HISTORY section to getc(3) 2020-04-10 09:37:20 +00:00
getc.c
getchar.c
getdelim.c getdelim(3): Fix losing data on [EAGAIN] 2021-09-02 11:26:26 -07:00
getline.3
getline.c
gets.c libc: remove gets 2019-09-01 16:12:05 +00:00
gets_s.c Conform to Berne Convention. 2018-05-19 21:26:07 +00:00
getw.c
getwc.3 Note some functions that appeared in First Edition Unix 2020-04-01 22:50:41 +00:00
getwc.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
getwchar.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
glue.h
local.h libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
makebuf.c
Makefile.inc stdio: provide _unlocked variants of fflush, fputc, fputs, fread, fwrite 2020-01-30 03:31:16 +00:00
mktemp.3 Add mkostempsat(3). 2019-07-29 19:02:16 +00:00
mktemp.c libc: try to skip memcpy in _gettemp 2021-01-24 11:06:36 +00:00
open_memstream.3 open_memstream(3): fix typo 2021-04-28 12:18:25 +03:00
open_memstream.c
open_wmemstream.c
perror.c
printf-pos.c
printf.3 Implement printf(3) family %m format string extension. 2018-05-22 11:05:40 +00:00
printf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
printf_l.3
printfcommon.h libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
printflocal.h
putc.3 stdio: provide _unlocked variants of fflush, fputc, fputs, fread, fwrite 2020-01-30 03:31:16 +00:00
putc.c
putchar.c
puts.c
putw.c
putwc.3
putwc.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
putwchar.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
refill.c
remove.3
remove.c
rewind.c
rget.c
scanf.3 libc: Add HISTORY sections to the manual pages 2022-05-05 18:46:32 +02:00
scanf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
scanf_l.3
setbuf.3 libc manpages: various improvements from NetBSD 2020-06-14 05:59:30 +00:00
setbuf.c
setbuffer.c
setvbuf.c libc: Fix size range check in setvbuf 2022-10-04 12:03:56 -04:00
snprintf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
sprintf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
sscanf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
stdio.3 libc: remove gets 2019-09-01 16:12:05 +00:00
stdio.c
swprintf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
swscanf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
Symbol.map libc: provide fputc_unlocked 2020-02-02 19:45:12 +00:00
tempnam.c
tmpfile.c
tmpnam.3 tmpnam(3): Also mention tmpfile in the ENVIRONMENT section 2020-08-07 16:20:07 +00:00
tmpnam.c
ungetc.3
ungetc.c
ungetwc.3
ungetwc.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
vasprintf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
vdprintf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
vfprintf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
vfscanf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
vfwprintf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
vfwscanf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
vprintf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
vscanf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
vsnprintf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
vsprintf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
vsscanf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
vswprintf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
vswscanf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
vwprintf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
vwscanf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
wbuf.c libc/stdio: only roll FILE state back on EINTR 2022-09-03 04:06:41 +03:00
wprintf.3
wprintf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
wscanf.3
wscanf.c libc: drop "All rights reserved" from Foundation copyrights 2022-08-04 16:57:50 -04:00
wsetup.c
xprintf.c
xprintf_errno.c
xprintf_float.c
xprintf_hexdump.c
xprintf_int.c
xprintf_quote.c
xprintf_str.c
xprintf_time.c
xprintf_vis.c