freebsd-skq/lib/libc/iconv
Eric van Gyzen 079171874c iconvctl(3): remove superfluous NULL pointer tests
convname and dst are guaranteed to be non-NULL by iconv_open(3).
src is an array. Remove these tests for NULL pointers.
While I'm here, eliminate a strlcpy with a correct but suspicious-looking
calculation for the third parameter (i.e. not a simple sizeof).
Compare the strings in-place instead of copying.

Found by:	bdrewery
Found by:	Coverity
CID:		1130050, 1130056
MFC after:	3 days
Sponsored by:	Dell Inc.
Differential Revision:	 https://reviews.freebsd.org/D6338
2016-05-14 00:35:35 +00:00
..
__iconv_free_list.c
__iconv_get_list.3
__iconv_get_list.c
__iconv.c
_strtol.h
_strtoul.h
bsd_iconv.c iconvctl(3): remove superfluous NULL pointer tests 2016-05-14 00:35:35 +00:00
citrus_aliasname_local.h
citrus_bcs_strtol.c
citrus_bcs_strtoul.c
citrus_bcs.c
citrus_bcs.h
citrus_csmapper.c
citrus_csmapper.h
citrus_db_factory.c
citrus_db_factory.h
citrus_db_file.h
citrus_db_hash.c
citrus_db_hash.h
citrus_db.c
citrus_db.h
citrus_esdb_file.h
citrus_esdb.c Use memmove(3) to avoid overlapping copy. 2015-10-29 23:06:33 +00:00
citrus_esdb.h
citrus_fix_grouping.h
citrus_hash.c
citrus_hash.h
citrus_iconv_local.h
citrus_iconv.c
citrus_iconv.h
citrus_lock.h
citrus_lookup_factory.c
citrus_lookup_factory.h
citrus_lookup_file.h
citrus_lookup.c
citrus_lookup.h
citrus_mapper_local.h
citrus_mapper.c
citrus_mapper.h
citrus_memstream.c
citrus_memstream.h
citrus_mmap.c libc: Use namespace.h in a few more files. 2015-12-20 23:05:20 +00:00
citrus_mmap.h
citrus_module.c
citrus_module.h
citrus_namespace.h
citrus_none.c
citrus_none.h
citrus_pivot_factory.c
citrus_pivot_factory.h
citrus_pivot_file.h
citrus_prop.c
citrus_prop.h
citrus_region.h
citrus_stdenc_local.h
citrus_stdenc_template.h
citrus_stdenc.c
citrus_stdenc.h
citrus_types.h
iconv_canonicalize.3
iconv_canonicalize.c
iconv_close.c
iconv_compat.c
iconv_open_into.c
iconv_open.c
iconv_set_relocation_prefix.c
iconv-internal.h libc: spelling fixes. 2016-04-30 01:24:24 +00:00
iconv.3
iconv.c
iconvctl.3
iconvctl.c
iconvlist.3
iconvlist.c
Makefile.inc libc: don't build compat functions if building WITHOUT_SYMVER 2016-03-15 19:26:32 +00:00
Symbol.map