glibc/libio
Ulrich Drepper 0292b0dd6c * libio/fmemopen.c (fmemopen): Free stream memory in case of
invalid length [Coverity CID 106].

	* nss/nss_files/files-key.c (search): Close stream before
	successful return [Coverity CID 107].

	* io/fts.c (fts_open): Don't allocate parent if *argv==NULL
	[Coverity CID 108].

	* sunrpc/rpc_cout.c (inline_struct): Free sizestr after use
	[Coverity CID 110, 109].

	* sunrpc/rpc_scan.c (docppline): Free file string if it is not
	going to be used [Coverity CID 111].

	* sysdeps/unix/sysv/linux/getsourcefilter.c (getsourcefilter): Free
	memory if socket level value cannot be retrieved [Coverity CID 112].

	* nis/nis_clone_dir.c (nis_clone_directory): Free all memory in
	error case [Coverity CID 114].

	* nis/nis_clone_res.c (nis_clone_result): Free all memory in the
	error cases [Coverity CID 115].

	* sunrpc/rpc_parse.c (get_definition): Free defp if tok ==
	TOK_EOF [Coverity CID 116].

	* sysdeps/unix/sysv/linux/setsourcefilter.c (setsourcefilter): Free
	memory if socket level value cannot be retrieved [Coverity CID 117].

	* elf/cache.c (save_cache): Initialize pad to avoid writing
	uninitialized data to disk.

	* elf/cache.c (save_cache): Free file_entries_new [Coverity CID 118].

	* intl/finddomain.c (_nl_find_domain): Avoid strdup of expand
	locale name, use strdupa.  Remove free call [Coverity CID 119].

	* sunrpc/rpc_main.c (generate_guard): Avoid extra allocation and
	the resulting leak [Coverity CID 121].

	* sunrpc/rpc_main.c (mkfile_output): Free all allocated memory
	[Coverity CID 122].

	* sunrpc/rpc_main.c (h_output): Free guard after we are done
	[Coverity CID 123].

	* sunrpc/svc_udp.c (cache_set): Free victim if newbuf allocation
	fails [Coverity CID 126].

	* sunrpc/svc_udp.c (svcudp_enablecache): Free memory in error
	cases [Coverity CID 127].

	* nis/nis_table.c (__create_ib_request): Free ibreq in case strdup
	fails [Coverity CID 128].

	* nis/nis_getservlist.c (nis_getservlist): Free all memory in case
	of an error [Coverity CID 130, 129].

	* nis/nis_print_group_entry.c (nis_print_group_entry): If
	nis_lookup call failed, return.  Free lookup result in error
	cases [Coverity CID 131].

	* nis/nis_removemember.c (nis_removemember): Free all memory in
	error cases [Coverity CID 132].

	* nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
	Always free lookup result [Coverity CID 134].

	* nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
	Always free lookup result [Coverity CID 135].

	* nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
	Always free lookup result [Coverity CID 136].

	* nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
	Before retrying, free old result [Coverity CID 137].

	* nis/nss_nisplus/nisplus-publickey.c (_nss_nisplus_netname2user):
	Free res in case UID is zero [Coverity CID 138].

	* nis/ypclnt.c (yp_update): Always free master string
	[Coverity CID 140].

	* nis/nis_creategroup.c (nis_creategroup): Free all memory in
	error cases [Coverity CID 143, 142, 141].

	* nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey): Free result
	if yp_match call succeeded [Coverity CID 155].

	* nis/nss_nis/nis-publickey.c (_nss_nis_getsecretkey): Free string
	allocated in yp_match at all times [Coverity CID 157, 156].

	* nscd/nscd.c (write_pid): Close stream also if writing failed
	[Coverity CID 165].

	* nis/nis_table.c (nis_add_entry): Move test for NULL parameter
	ahead of first use [Coverity CID 167].

	* nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Move test
	for NULL parameter ahead of first use [Coverity CID 168].

	* intl/finddomain.c (_nl_find_domain): We never return NULL if we
	found the locale [Coverity CID 169].

	* inet/getnameinfo.c (getnameinfo): __getservbyport_r does not set
	herrno [Coverity CID 178].

	* nis/nis_checkpoint.c (nis_checkpoint): Don't access and returned
	freed object [Coverity CID 182].
2006-04-07 04:29:25 +00:00
..
bits * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Use long_double_symbol 2006-02-01 19:47:57 +00:00
__fbufsize.c Update. 2002-04-09 20:36:24 +00:00
__flbf.c Update. 2002-04-09 20:36:24 +00:00
__fpending.c Update. 2002-04-09 20:36:24 +00:00
__fpurge.c Update. 2002-04-09 20:36:24 +00:00
__freadable.c Update. 2002-04-09 20:36:24 +00:00
__freading.c Update. 2002-04-09 20:36:24 +00:00
__fsetlocking.c Update. 2002-04-09 20:36:24 +00:00
__fwritable.c Update. 2002-04-09 20:36:24 +00:00
__fwriting.c Update. 2002-04-09 20:36:24 +00:00
.cvsignore
Banner
bug-fopena+.c Update. 2002-08-27 06:41:29 +00:00
bug-fseek.c Update. 2002-07-24 11:18:48 +00:00
bug-ftell.c * libio/bug-ftell.c (do_test): Add a cast. 2003-11-01 21:11:05 +00:00
bug-mmap-fflush.c Update. 2002-08-27 12:10:11 +00:00
bug-rewind2.c Update. 2002-08-26 08:08:50 +00:00
bug-rewind.c Update. 2002-08-26 08:08:50 +00:00
bug-ungetc2.c Update. 2003-09-06 09:56:14 +00:00
bug-ungetc3.c Update. 2004-11-09 07:05:27 +00:00
bug-ungetc4.c Test for ungetc bug. 2004-12-06 22:33:26 +00:00
bug-ungetc.c 2002-07-24 Roland McGrath <roland@frob.com> 2002-07-24 09:34:59 +00:00
bug-ungetwc1.c Update. 2002-04-03 09:26:58 +00:00
bug-ungetwc2.c Update. 2002-04-24 21:09:14 +00:00
bug-wfflush.c * libio/bug-wfflush.c (do_test): Call rewind instead of fsetpos. 2002-11-11 06:55:22 +00:00
clearerr_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
clearerr.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Depend New file, libio needs localedata for tests. 2000-07-29 07:57:34 +00:00
fcloseall.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
feof_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
feof.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ferror_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ferror.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
filedoalloc.c Update. 2002-07-06 06:36:39 +00:00
fileno.c * locale/programs/ld-ctype.c (ctype_read): When given a repertoire 2002-08-26 11:39:12 +00:00
fileops.c (_IO_new_file_fopen): If ,ccs= is given, also set vtable to the wide vtable. 2006-01-19 00:38:35 +00:00
fmemopen.c * libio/fmemopen.c (fmemopen): Free stream memory in case of 2006-04-07 04:29:25 +00:00
fputc_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fputc.c Update. 2003-08-29 19:58:49 +00:00
fputwc_u.c [BZ #2079] 2006-01-15 17:45:20 +00:00
fputwc.c [BZ #2078, BZ #2079] 2006-01-15 17:46:04 +00:00
freopen64.c Update. 2003-08-29 19:58:49 +00:00
freopen.c Update. 2003-08-29 19:58:49 +00:00
fseek.c Update. 2003-08-29 19:58:49 +00:00
fseeko64.c Update. 2003-08-29 19:58:49 +00:00
fseeko.c Update. 2003-08-29 19:58:49 +00:00
ftello64.c 2004-11-04 Jakub Jelinek <jakub@redhat.com> 2004-11-04 23:22:02 +00:00
ftello.c 2004-11-04 Jakub Jelinek <jakub@redhat.com> 2004-11-04 23:22:02 +00:00
fwide.c Update. 2003-08-29 19:58:49 +00:00
fwprintf.c * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
fwscanf.c * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
genops.c * include/fcntl.h: Declare __openat, __open64. Use libc_hidden_proto. 2006-03-01 05:32:59 +00:00
getc_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getc.c Update. 2003-08-29 19:58:49 +00:00
getchar_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getchar.c Update. 2003-08-29 19:58:49 +00:00
getwc_u.c [BZ #2079] 2006-01-15 17:45:20 +00:00
getwc.c Update. 2003-08-29 19:58:49 +00:00
getwchar_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getwchar.c Update. 2003-08-29 19:58:49 +00:00
iofclose.c [BZ #627] 2005-09-26 16:56:27 +00:00
iofdopen.c * scripts/abilist.awk: If variable `parse_names' is set, grok the file 2003-03-27 11:54:09 +00:00
iofflush_u.c Update. 2002-08-04 20:54:20 +00:00
iofflush.c Update. 2003-08-29 19:58:49 +00:00
iofgetpos64.c 2004-11-04 Jakub Jelinek <jakub@redhat.com> 2004-11-04 23:22:02 +00:00
iofgetpos.c 2004-11-04 Jakub Jelinek <jakub@redhat.com> 2004-11-04 23:22:02 +00:00
iofgets_u.c [BZ #713] 2005-09-27 00:00:42 +00:00
iofgets.c [BZ #713] 2005-09-27 00:00:42 +00:00
iofgetws_u.c [BZ #713] 2005-09-27 00:00:42 +00:00
iofgetws.c [BZ #713] 2005-09-27 00:00:42 +00:00
iofopen64.c Update. 2002-01-07 09:33:53 +00:00
iofopen.c * scripts/abilist.awk: If variable `parse_names' is set, grok the file 2003-03-27 11:54:09 +00:00
iofopncook.c [BZ #394] 2005-09-23 16:36:09 +00:00
iofputs_u.c Update. 2002-08-04 20:54:20 +00:00
iofputs.c Update. 2003-08-29 19:58:49 +00:00
iofputws_u.c Update. 2002-08-04 20:54:20 +00:00
iofputws.c Update. 2003-08-29 19:58:49 +00:00
iofread_u.c Update. 2002-08-04 20:54:20 +00:00
iofread.c Update. 2003-08-29 19:58:49 +00:00
iofsetpos64.c Update. 2003-08-29 19:58:49 +00:00
iofsetpos.c Update. 2003-08-29 19:58:49 +00:00
ioftell.c 2004-11-04 Jakub Jelinek <jakub@redhat.com> 2004-11-04 23:22:02 +00:00
iofwide.c * iconv/gconv.c: Demangle pointers before use if necessary. 2005-12-19 07:26:29 +00:00
iofwrite_u.c Update. 2002-08-04 20:54:20 +00:00
iofwrite.c Update. 2003-08-29 19:58:49 +00:00
iogetdelim.c [BZ #1405] 2005-10-14 06:25:55 +00:00
iogetline.c [BZ #713] 2005-09-27 00:00:42 +00:00
iogets.c Update. 2003-08-29 19:58:49 +00:00
iogetwline.c [BZ #2080] 2005-12-30 18:09:21 +00:00
iolibio.h Update. 2004-11-27 19:32:49 +00:00
iopadn.c Update. 2002-02-26 01:45:59 +00:00
iopopen.c Update. 2004-09-14 04:41:35 +00:00
ioputs.c Update. 2003-08-29 19:58:49 +00:00
ioseekoff.c Update. 2003-08-29 19:58:49 +00:00
ioseekpos.c Update. 2004-12-06 22:48:11 +00:00
iosetbuffer.c Update. 2003-08-29 19:58:49 +00:00
iosetvbuf.c Update. 2003-08-29 19:58:49 +00:00
ioungetc.c Update. 2003-08-29 19:58:49 +00:00
ioungetwc.c [BZ #2078, BZ #2079] 2006-01-15 17:46:04 +00:00
iovdprintf.c * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
iovsprintf.c * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
iovsscanf.c * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
iovswscanf.c * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
iowpadn.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
libc_fatal.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
libio.h * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
libioP.h * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
Makefile [BZ #2173] 2006-01-19 01:35:28 +00:00
memstream.c * libio/wmemstream.c: New file. 2006-01-12 02:03:42 +00:00
obprintf.c * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
oldfileops.c * libio/oldfileops.c (_IO_old_file_xsputn): Fix last patch. 2005-10-17 16:05:54 +00:00
oldiofclose.c * libio/oldiofclose.c (_IO_old_fclose): Likewise. 2005-09-26 17:02:19 +00:00
oldiofdopen.c Update. 2004-03-10 09:29:17 +00:00
oldiofgetpos64.c 2004-11-04 Jakub Jelinek <jakub@redhat.com> 2004-11-04 23:22:02 +00:00
oldiofgetpos.c 2004-11-04 Jakub Jelinek <jakub@redhat.com> 2004-11-04 23:22:02 +00:00
oldiofopen.c Update. 2004-03-10 09:29:17 +00:00
oldiofsetpos64.c Update. 2004-03-10 09:29:17 +00:00
oldiofsetpos.c Update. 2004-03-10 09:29:17 +00:00
oldiopopen.c Update. 2004-09-14 04:41:35 +00:00
oldpclose.c Update. 2004-03-10 09:29:17 +00:00
oldstdfiles.c Update. 2004-09-14 04:41:35 +00:00
oldtmpfile.c Update. 2004-03-10 09:29:17 +00:00
pclose.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
peekc.c Update. 2003-08-29 19:58:49 +00:00
putc_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
putc.c Update. 2003-08-29 19:58:49 +00:00
putchar_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
putchar.c Update. 2003-08-29 19:58:49 +00:00
putwc_u.c Update. 2003-02-05 18:06:28 +00:00
putwc.c Update. 2003-08-29 19:58:49 +00:00
putwchar_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
putwchar.c Update. 2003-08-29 19:58:49 +00:00
rewind.c Update. 2003-08-29 19:58:49 +00:00
setbuf.c Update. 2002-02-26 01:45:59 +00:00
setlinebuf.c Update. 2002-02-26 01:45:59 +00:00
stdfiles.c * scripts/abilist.awk: If variable `parse_names' is set, grok the file 2003-03-27 11:54:09 +00:00
stdio.c Update. 2002-03-17 12:09:12 +00:00
stdio.h * libio/stdio.h: Declare open_wmemstream. 2006-01-16 20:14:50 +00:00
strfile.h * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
strops.c 2.5-18.1 2007-07-12 18:26:36 +00:00
swprintf.c * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
swscanf.c * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
test-fmemopen.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
test-freopen.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
test-freopen.sh Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst_getwc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst_getwc.input Update. 2000-06-23 06:22:36 +00:00
tst_putwc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst_swprintf.c Fix format strings. 2002-09-30 07:47:16 +00:00
tst_swscanf.c Update. 2001-02-09 17:57:28 +00:00
tst_wprintf2.c Update. 2000-07-20 08:56:12 +00:00
tst_wprintf.c Update. 2000-06-17 19:22:43 +00:00
tst_wscanf.c Update. 2001-02-09 17:57:28 +00:00
tst_wscanf.input Update. 1999-06-16 22:55:47 +00:00
tst-atime.c Update. 2002-09-05 10:28:51 +00:00
tst-eof.c pdate. 2002-07-23 00:31:41 +00:00
tst-ext.c Update. 2001-03-27 00:16:51 +00:00
tst-fgetws.c Fix format strings. 2002-09-30 07:47:16 +00:00
tst-fopenloc2.c [BZ #2173] 2006-01-19 01:35:28 +00:00
tst-fopenloc.c Update. 2001-07-27 18:09:56 +00:00
tst-freopen.c Update. 2002-08-25 08:44:43 +00:00
tst-memstream1.c * libio/wmemstream.c: New file. 2006-01-12 02:03:42 +00:00
tst-memstream2.c * libio/wmemstream.c: New file. 2006-01-12 02:03:42 +00:00
tst-mmap2-eofsync.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
tst-mmap-eofsync.c * locale/xlocale.h (struct __locale_struct): New member `__names'. 2002-08-30 10:36:44 +00:00
tst-mmap-fflushsync.c * locale/xlocale.h (struct __locale_struct): New member `__names'. 2002-08-30 10:36:44 +00:00
tst-mmap-offend.c * locale/xlocale.h (struct __locale_struct): New member `__names'. 2002-08-30 10:36:44 +00:00
tst-mmap-setvbuf.c * locale/xlocale.h (struct __locale_struct): New member `__names'. 2002-08-30 10:36:44 +00:00
tst-sscanf.c Update. 2001-08-22 18:40:06 +00:00
tst-swscanf.c Update. 2002-02-26 18:08:08 +00:00
tst-ungetwc1.c * libio/tst-ungetwc1.c (main): Add a const to quiet a warning. 2001-08-23 08:36:47 +00:00
tst-ungetwc2.c Update. 2001-08-17 04:49:12 +00:00
tst-widetext.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
tst-widetext.input Update. 2000-07-25 21:09:46 +00:00
tst-wmemstream1.c * libio/wmemstream.c: New file. 2006-01-12 02:03:42 +00:00
tst-wmemstream2.c * libio/wmemstream.c: New file. 2006-01-12 02:03:42 +00:00
vasprintf.c * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
Versions * libio/stdio.h: Declare open_wmemstream. 2006-01-16 20:14:50 +00:00
vscanf.c * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
vsnprintf.c * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
vswprintf.c * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
vwprintf.c * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
vwscanf.c * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
wfiledoalloc.c 2.5-18.1 2007-07-12 18:26:36 +00:00
wfileops.c [BZ #2079] 2006-01-15 17:45:20 +00:00
wgenops.c [BZ #2226] 2006-02-12 21:41:44 +00:00
wmemstream.c * libio/wmemstream.c: New file. 2006-01-12 02:03:42 +00:00
wprintf.c * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
wscanf.c * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
wstrops.c 2.5-18.1 2007-07-12 18:26:36 +00:00