diff options
| author | Ulrich Drepper <drepper@redhat.com> | 2006-05-04 16:05:24 +0000 |
|---|---|---|
| committer | Ulrich Drepper <drepper@redhat.com> | 2006-05-04 16:05:24 +0000 |
| commit | 3f87d90102af2376a46bb2ebe419c83c30a25b73 (patch) | |
| tree | 80eeeb1cf2468b226769e0aab8b1bc88499368bf /ChangeLog.16 | |
| parent | 077a30bc0e51391214095bf2a7df4272b9b8e219 (diff) | |
| download | glibc-3f87d90102af2376a46bb2ebe419c83c30a25b73.tar.xz glibc-3f87d90102af2376a46bb2ebe419c83c30a25b73.zip | |
See ChangeLog.16 for earlier changes.
Diffstat (limited to 'ChangeLog.16')
| -rw-r--r-- | ChangeLog.16 | 13377 |
1 files changed, 13377 insertions, 0 deletions
diff --git a/ChangeLog.16 b/ChangeLog.16 new file mode 100644 index 0000000000..3c09a3b6a5 --- /dev/null +++ b/ChangeLog.16 @@ -0,0 +1,13377 @@ +2006-05-03 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/posix/getaddrinfo.c: Implement configuration file + handling. /etc/gai.conf can contain replacements for the label + and precedence table. Fix byte order of default label and + precedence table. + * posix/gai.conf: New file. + * posix/tst-rfc3484.c: Adjust for changes to getaddrinfo.c. + * posix/tst-rfc3484-2.c: Likewise. + +2006-05-02 Ulrich Drepper <drepper@redhat.com> + + [BZ #1201] + * posix/regex.h: g++ still cannot handled [restrict]. + + [BZ #2509] + * stdio-common/vfprintf.c (process_arg): Fix reading of signed + short and byte values from parameter list. + * stdio-common/tst-printf.c (main): Add more tests. + * stdio-common/tst-printf.sh: Adjust for tst-printf.c change. + + * iconvdata/testdate/MIK: Fix format to match expected output. + + [BZ #2632] + * nscd/connections.c (nscd_init): Correct initialization of + in-memory database structure. + +2006-05-02 Thorsten Kukuk <kukuk@suse.de> + + * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Fix MADV_REMOVE value. + * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. + +2006-05-01 Ulrich Drepper <drepper@redhat.com> + + [BZ #2502] + * iconvdata/utf-7.c: Don't require more than one character after + the '+' sign starting Unicode shifted sequences. + + * misc/tsearch.c (__tdelete): Remove unnecessary test + [Coverity CID 75]. + + * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Print error + message for invalid DWARF data instead of crashing. + + * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Don't try to + free outkey in error case when batch_read is set. + + * nis/nss_nis/nis-grp.c (internal_nis_getgrent_r): Don't try to + free outkey in error case when batch_read is set [Coverity CID 196]. + + [BZ #2517] + * misc/sys/queue.h: Update to more recent version. + +2006-05-01 Alexander Shopov <ash@contact.bg> + + [BZ #2625] + * iconvdata/Makefile (modules): Added MIK. + (distribute): Added mik.c. + (gen-8bit-gap-modules): Added mik. + * iconvdata/TESTS: Added MIK. + * iconvdata/gconv-modules: Added MIK. + * iconvdata/tst-tables.sh: Added MIK. + * iconvdata/mik.c: New file. + * iconvdata/testdata/MIK: New file. + * iconvdata/testdata/MIK..UTF8: New file. + +2006-04-30 Ulrich Drepper <drepper@redhat.com> + + * elf/dl-load.c (_dl_map_object_from_fd): Move state change + notification... + (lose): ...to here. + + * posix/Makefile (tests): Add tst-getaddrinfo3. + * posix/tst-getaddrinfo3.c: New file. + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Add parenthesis in test + for better readability. + + * nscd/nscd.h (struct database_dyn): Change filename to an array + to avoid relocations. + + * elf/ldd.bash.in: If --verify loop fails to find a dynamic linker + for the file don't just try the first one listed in RTLDLIST + again. We already have the status. + + * nis/nss_nisplus/nisplus-publickey.c (parse_grp_str): PIDLIST is + supposed to have NGRPS elements. + + * nis/nss_nisplus/nisplus-parser.c: Minor optimizations and + cleanups. Avoid copying data if it can be used in the old place. + +2006-04-29 Ulrich Drepper <drepper@redhat.com> + + * nis/nss_nisplus/nisplus-ethers.c: Add missing null pointer check. + * nis/nss_nisplus/nisplus-hosts.c: Likewise. + * nis/nss_nisplus/nisplus-network.c: Likewise. + * nis/nss_nisplus/nisplus-proto.c: Likewise. + * nis/nss_nisplus/nisplus-rpc.c: Likewise. + * nis/nss_nisplus/nisplus-service.c: Likewise. + * nis/nss_nisplus/nisplus-spwd.c: Likewise. + + * nis/nisplus-parser.h (_nss_nisplus_parse_pwent): Add entry + parameter. + (_nss_nisplus_parse_pwent_chk): New prototype. + * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent): + Add entry parameter. Use it for column value in all accesses. + Move checks for well-formed reply to... + (_nss_nisplus_parse_pwent_chk): ...here. New function. + * nis/nss_nisplus/nisplus-pwd.c: Support SETENT_BATCH_READ option. + + * nis/nss_nisplus/nisplus-parser.c: Some cleanups. Remove + hidden_def definitions. + * nis/nisplus-parser.h: Add parameter names. Remove hidden_proto + definitions. + +2006-04-28 Ulrich Drepper <drepper@redhat.com> + + * nis/nss_nis/nis-spwd.c (internal_nis_getspent_r): Remove data + variable. + + * nis/nss-nis.h: Define response_t and intern_t. Declare _nis_saveit. + * nis/nss_nis/nis-pwd.c: Remove response_t and intern_t definition. + (saveit): Renamed to _nis_saveit. Take parameter which is pointer + to the intern_t object. Change all users. + * nis/nss_nis/nis-grp.c: Remove response_t, intern_t, and saveit + definition. Use _nis_saveit instead of saveit. + * nis/nss_nis/nis-service.c: Likewise. + * nis/nss_nis/nis-initgroups.c: Likewise. + (internal_setgrent): Adjust for buffer handling. + (internal_getgrent_r): Likewise. + * nis/nss_nis/nis-rpc.c: Likewise. + + * nis/nss-default.c (vars): Add SETENT_BATCH_READ. + * nis/nss: Document SETENT_BATCH_READ. + * nis/libnsl.h: Define NSS_FLAG_SETENT_BATCH_READ. + * nis/nss_nis/nis-service.c (saveit): Don't add NUL byte if the + string is already NUL terminated. + (internal_nis_endservent): No need to return anything. Change callers. + (internal_nis_setservent): One more initialization. + * nis/nss_nis/nis-pwd.c: Support SETENT_BATCH_READ option. + * nis/nss_nis/nis-grp.c: Likewise. + + * nis/nss-default.c (init): Rewrite parser to get the variables + from a table. + + * nis/nss_nis/nis-service.c: Avoid passing pointer to static + variable around. Reduce number of memory allocations by creating + list of memory pools. + + * nis/ypclnt.c (__xdr_ypresp_all): Minor optimization in string + handling. Fix typo in comment. + +2006-04-27 Ulrich Drepper <drepper@redhat.com> + + * nscd/connections.c (restart): If we want to switch back to the + old ID use setresuid and setresgid. + (finish_drop_privileges): Likewise. + +2006-04-27 Jakub Jelinek <jakub@redhat.com> + + * nscd/nscd.conf: Fix a typo. + +2006-04-27 Ulrich Drepper <drepper@redhat.com> + + [BZ #2611] + * stdio-common/renameat.c (renameat): Fix typo. + +2006-04-26 Roland McGrath <roland@redhat.com> + + * Makeconfig (%.v.i rule): Don't use -DASSEMBLER. + The predefined __ASSEMBLER__ is sufficient. + +2006-04-26 Ulrich Drepper <drepper@redhat.com> + + [BZ #1386] + * iconvdata/ibm932.c: Change mapping to allow round-trips. + * iconvdata/ibm943.c: Likewise. + Patch by Masahide Washizawa <WASHI@jp.ibm.com>. + + * sysdeps/unix/sysv/linux/syscalls.list: Add vmsplice. + * sysdeps/unix/sysv/linux/Versions: Export vmsplice@@GLIBC_2.5. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Declare vmsplice. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. + + * sysdeps/unix/sysv/linux/bits/uio.h: Fix a typo in a comment. + + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo which caused + errors not to be reported. + + * nscd/nscd.h (struct database_dyn): Add propagate field. + * nscd/nscd_conf.c (nscd_parse_file): Parse auto-propagate lines. + * nscd/nscd.conf: Add auto-propagate lines. + * nscd/connections.c (dbs): Initialize .propagate fields. + * nscd/grpcache.c (cache_addgr): Do not add ID entry for name lookups + and vice versa if propagation is disabled for the database. + * nscd/pwdcache.c (cache_addpw): Likewise. + +2006-04-26 James Antill <james.antill@redhat.com> + Ulrich Drepper <drepper@redhat.com> + + * config.make.in: Add have-libcap. + * configure.in: Check for libcap. + * nscd/Makefile (selinux-LIBS): Add -lcap if possible. + * nscd/connections.c (finish_drop_privileges): When libcap is available + call preserve_capabilities and install_real_capabilities. + * nscd/selinux.c: Define preserve_capabilities and + install_real_capabilities. + * nscd/selinux.h: Declare preserve_capabilities and + install_real_capabilities. + +2006-04-26 Ulrich Drepper <drepper@redhat.com> + + * locale/iso-4217.def: Update. + +2006-04-25 Ulrich Drepper <drepper@redhat.com> + + [BZ #2420] + * stdlib/strfmon_l.c (__vstrfmon_l): Fix handling of ! modifier. + * localedata/Makefile: Add rules to build and run tst-strfmon1. + * localedata/tst-strfmon1.c: New file. + + [BZ #2571] + * nscd/nscd_helper.c (__nscd_get_map_ref): Make mapptr argument a + volatile pointer so that the mapptr->mapped value is re-read after + the lock is retrieved. + * nscd/nscd-client.h: Update __nscd_get_map_ref prototype. + + * include/features.h [_GNU_SOURCE] (_POSIX_C_SOURCE): Define to + 200112L. + + * resolv/res_hconf.c: Minor surgery to 'cmd' and the referenced + functions to avoid relocations. + + [BZ #2389] + * resolv/res_hconf.c: Remove 'order' parsing. Just ignore the line. + * resolv/res_hconf.h: Remove Name_Service definition. + (struct hconf): Replace service related fields with placeholders. + + [BZ #2386] + * sysdeps/unix/sysv/linux/ia64/clone2.S: Check for NULL stack + pointers to match other architectures. + * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (tests): Add + tst-clone. + * sysdeps/unix/sysv/linux/tst-clone.c: New file. + + [BZ #2072] + * stdio-common/printf_fp.c: Fix potential memory leaks for + malloc'ed wbuffer which isn't freed in error conditions. + + [BZ #2569] + * iconv/gconv_db.c (__gconv_release_step): Fix condition of assert + call. + * iconvdata/Makefile (tests): Add tst-iconv6. + * iconvdata/tst-iconv6.c: New file. + +2006-04-24 Ulrich Drepper <drepper@redhat.com> + + * posix/tst-rfc3484.c (do_test): Also initialize source_addr_flags + field. + * posix/tst-rfc3484-2.c (do_test): Likewise. + + * posix/tst-rfc3484.c: Include <ifaddrs.h> early. + * posix/tst-rfc3484-2.c: Likewise. + + * version.h (VERSION): Bump to 2.4.90 for the trunk. + +2006-04-24 Jakub Jelinek <jakub@redhat.com> + + * malloc/arena.c (ptmalloc_init): Don't call __malloc_check_init + if MALLOC_CHECK_ env var contains an empty string. + +2006-04-24 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Always initialize in6ai. + +2006-04-24 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): Use + __LONG_LONG_PAIR macro. + + * posix/bits/unistd.h (__readlinkat_chk): New prototype. + (__readlinkat_alias): New alias. + (readlinkat): New inline function. + * include/unistd.h (readlinkat): Add libc_hidden_proto. + * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Add + libc_hidden_def. + * io/readlinkat.c (readlinkat): Likewise. + * debug/readlinkat_chk.c: New file. + * debug/Makefile (routines): Add readlinkat_chk. + * debug/Versions (libc): Export __readlinkat_chk@@GLIBC_2.5. + * debug/tst-chk1.c (do_test): Add readlinkat tests. + +2006-04-23 Ulrich Drepper <drepper@redhat.com> + + * nis/nss_nisplus/nisplus-netgrp.c: Cleanups. + + [BZ #1951] + * sysdeps/posix/sigset.c (sigset): Return correct value reflecting + previous signal state. + * signal/Makefile (tests): Add tst-sigset2. + * signal/tst-sigset2.c: New file. + +2006-04-21 Jakub Jelinek <jakub@redhat.com> + + * argp/argp.h (__option_is_short): Check upper limit of + __key. isprint() requires its argument to have the value + of an unsigned char or EOF. + Patch by Sergey Poznyakoff <gray@Mirddin.farlep.net>. + +2006-04-21 Ulrich Drepper <drepper@redhat.com> + + [BZ #2534, BZ #2535] + * posix/regex.h: Remove obsolete <sys/types.h> comment and special + handling for VMS. + + * iconvdata/ibm437.c: Define HAS_HOLES to 0. + * iconvdata/ibm861.c: Likewise. + * iconvdata/ibm862.c: Likewise. + * iconvdata/ibm863.c: Likewise. + * iconvdata/ibm865.c: Likewise. + Reported by <ash@contact.bg>. + +2006-04-19 Ulrich Drepper <drepper@redhat.com> + + * include/ifaddrs.h: Get uint32_t definition. + * posix/tst-rfc3484.c: Update fake __check_pf implementation. + * posix/tst-rfc3484-2.c: Likewise. + + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_PROC_SELF_FD_SYMLINK. + * sysdeps/unix/sysv/linux/ttyname.c: Cleanups. Avoid compatibility + code is possible. Move compatibility code in .text.compat section. + * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. + +2006-04-18 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Rewrite to avoid loop + over gaih array. There is only one function to call in the moment. + +2006-04-16 Ulrich Drepper <drepper@redhat.com> + + * include/ifaddrs.h: Define struct in6addrinfo. + Add two more parameters to __check_pf. + * sysdeps/unix/sysv/linux/check_pf.c: When using the netlink + interface, determine whether IPv6 addresses are deprecated or + temporary. Create array of those addresses. + * inet/check_pf.c: Always tell caller there are no depracated + and temporary addresses. + * sysdeps/posix/getaddrinfo.c: Pretty printing. + (struct sort_result): Add source_addr_flags field. + (rfc3484_sort): Implement rule 3 and 7. + (in6aicmp): New function. + (getaddrinfo): Call __check_pf also when we need info about IPv6 + source addresses. When creating array for sorting addresses, + look up deprecated and temporary addresses returned by __check_pf + and add flag if necessary. + +2006-04-15 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/posix/getaddrinfo.c: Fix precedence for IP V4-to-V6 + mapped addresses. + * posix/Makefile (tests): Add tst-rfc3484-2. + * posix/tst-rfc3484-2.c: New file. + + * nis/nss_nisplus/nisplus-publickey.c: Minor cleanups throughout. + * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent): + Significant cleanups. Correct adjustment for pointer array. + * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): + Likewise. + * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent): + Likewise. + * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent): + Likewise. + * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): + Likewise. + +2006-04-14 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/unix/sysv/linux/syscalls.list: Add tee syscall. + * sysdeps/unix/sysv/linux/Versions: Export tee@GLIBC_2.5. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Add prototype for tee. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. + + * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_parse_etherent): + Minor cleanups. NUL terminate name string. + + * nis/Versions: No need to export _nss_nisplus_parse_grent, + _nss_nisplus_parse_pwent, and _nss_nisplus_parse_spent. + + * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_parse_aliasent): + Avoid unnecessary allocation. Fix adjustment for pointer value. + + * nis/nss_nisplus/nisplus-parser.c: Cleanups, use NIS_RES_* + macros. Avoid unnecessary allocation. + + * sysdeps/unix/sysv/linux/sync_file_range.c: New file. + +2006-04-13 Ulrich Drepper <drepper@redhat.com> + + * nis/Makefile (libnsl-routimes): Add nss-default. + * nis/Versions (libnsl) [GLIBC_PRIVATE]: Export _nsl_default_nss. + * nis/nss-nis.c: Move /etc/default/nss handling to... + * nis/nss-default.c: ...here. New file. + * nis/libnsl.h: New file. + * nis/nss-nis.h: Remove NSS_FLAG_* definitions and _nis_default_nss + plus auxilary definitions. + * nis/nss_nis/nis-initgroups.c: Use _nsl_default_nss instead of + _nis_default_nss. + * nis/nss_nis/nis-service.c: Likewise. + +2006-04-07 Steven Munroe <sjmunroe@us.ibm.com> + + * sysdeps/powerpc/fpu/bits/mathinline.h + [__WORDSIZE == 64 || _ARCH_PWR4]: Define __CPU_HAS_FSQRT. + (__ieee754_sqrt): Fix comment. + (__ieee754_sqrtf): Fix comment. + * sysdeps/powerpc/fpu/e_sqrt.c (__ieee754_sqrt): Fix comment. + Check __CPU_HAS_FSQRT instead of dl_hwcap. + * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Likewise. + +2006-04-08 Ulrich Drepper <drepper@redhat.com> + + * inet/inet_ntoa.c: Rewrite to use TLS instead of TSD. + + * nis/nss_nis/nis-alias.c: Optimize use of yperr2nss. Avoid calling + it for YPERR_SUCCESS. Minor cleanups. Add __builtin_expect. + * nis/nss_nis/nis-ethers.c: Likewise. + * nis/nss_nis/nis-grp.c: Likewise. + * nis/nss_nis/nis-hosts.c: Likewise. + * nis/nss_nis/nis-initgroups.c: Likewise. + * nis/nss_nis/nis-netgrp.c: Likewise. + * nis/nss_nis/nis-network.c: Likewise. + * nis/nss_nis/nis-proto.c: Likewise. + * nis/nss_nis/nis-publickey.c: Likewise. + * nis/nss_nis/nis-pwd.c: Likewise. + * nis/nss_nis/nis-rpc.c: Likewise. + * nis/nss_nis/nis-service.c: Likewise. + * nis/nss_nis/nis-spwd.c: Likewise. + + * nis/nis_ping.c: Remove unnecessary conditionals before + nis_freeresult calls. + * nis/nis_ismember.c: Likewise. + + * elf/rtld.c (process_envvars): Fix handling of LD_POINTER_GUARD. + Reported by genesh@comcast.net. + + * io/fts.c (fts_build): Call fts_lfree in the two error cases + after the loop [Coverity CID 187]. + + * nis/nis_getservlist.c (nis_getservlist): Also free lookup result + in error case [Coverity CID 189]. + + * nis/nis_getservlist.c (nis_getservlist): One more free call + needed [Coverity CID 190]. + +2006-04-07 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/generic/unwind-dw2-fde.c (end_fde_sort): Remove + unnecessary test for accu->linear == NULL [Coverity CID 79]. + +2006-04-07 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/posix/tempname.c (__gen_tempname): Change attempts_min + into a macro. Use preprocessor to decide how to initialize + attempts [Coverity CID 67]. + + * io/fts.c (fts_build): Comment out dead code [Coverity CID 68]. + + * sunrpc/rpc_parse.c (def_union): Comment out dead code + [Coverity CID 70]. + + * locale/programs/linereader.c (lr_token): Remove duplicate + handling of EOF [Coverity CID 71]. + + * locale/programs/ld-numeric.c (numeric_read) [case tok_grouping]: + We bail out early if ignore_content is set, so there is no need to + check it later again [Coverity CID 72]. + + * inet/inet6_option.c (inet6_option_find): Check *tptrp for NULL, + not tptrp [Coverity CID 73]. + + * inet/inet6_option.c (inet6_option_next): Check *tptrp for NULL, + not tptrp [Coverity CID 74]. + + * misc/tsearch.c (__tsearch): Don't rotate tree if memory + allocation failed [Coverity CID 78]. + +2006-04-07 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Fix typo in + the last change. + +2006-04-07 Ulrich Drepper <drepper@redhat.com> + + * inet/rexec.c (rexec_af): If we have no canonical name don't + proceed further [Coverity CID 86]. + + * iconv/iconv_charmap.c (process_fd): Initialize inptr from inbuf, + not to NULL [Coverity CID 88]. + +2006-04-06 Ulrich Drepper <drepper@redhat.com> + + * elf/ldconfig.c (main): Use rawmemchr instead of strchr. + * nis/nis_call.c (rec_dirsearch): Likewise. + * nis/nis_local_names.c (nis_local_host): Likewise. + (nis_local_directory): Likewise. + * intl/explodename.c (_nl_explode_name): Likewise. + + * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Don't handle + DW_CFA_GNU_window_save if it obviously cannot work [Coverity CID 102]. + + * locale/programs/ld-address.c (address_finish): Fix conditions + for error messages [Coverity CID 104]. + + * 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-05 Alan Modra <amodra@bigpond.net.au> + Jakub Jelinek <jakub@redhat.com> + + * posix/bits/unistd.h (readlink, __readlink_chk, __readlink_alias): + Change return value to ssize_t. + +2006-04-04 Roland McGrath <roland@redhat.com> + + * string/Makefile (CFLAGS-inl-tester.c): New variable. + (CFLAGS-tst-inlcall.c): Likewise. + + [BZ #2508] |
