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
..
2016-04-29 12:00:36 +00:00
2016-05-01 16:43:22 +00:00
2016-01-21 17:33:31 +00:00
MFH
2016-02-10 04:20:39 +00:00
2015-09-12 11:41:31 +00:00
2016-01-27 06:28:56 +00:00
2016-05-01 16:43:22 +00:00
2016-05-01 16:43:22 +00:00
rpc