freebsd-src/etc
Enji Cooper 0232420a26 MFC r299704:
r299704 (by vangyzen):

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
2016-12-03 16:52:40 +00:00
..
autofs MFC r297207: 2016-11-04 14:06:21 +00:00
bluetooth
defaults MFC r300356 2016-07-11 23:15:54 +00:00
devd MFC r298783: 2016-05-09 13:12:12 +00:00
etc.amd64 MFC r262957, r267591, r289634: 2015-10-28 13:30:14 +00:00
etc.arm MFC r284683: 2015-06-24 18:58:42 +00:00
etc.i386 MFC r262957, r267591, r289634: 2015-10-28 13:30:14 +00:00
etc.ia64 MFC r262957, r267591, r289634: 2015-10-28 13:30:14 +00:00
etc.mips MFC r262957, r267591, r289634: 2015-10-28 13:30:14 +00:00
etc.pc98 MFC r262957, r267591, r289634: 2015-10-28 13:30:14 +00:00
etc.powerpc MFC r262957, r267591, r289634: 2015-10-28 13:30:14 +00:00
etc.sparc64 MFC r262957, r267591, r289634: 2015-10-28 13:30:14 +00:00
gss
mail Merge a number of changes required to hook up OpenBSM 1.2-alpha2's 2012-12-01 15:11:46 +00:00
mtree MFC r299704: 2016-12-03 16:52:40 +00:00
newsyslog.conf.d MFC r277541: 2015-02-02 09:24:40 +00:00
ntp MFC r304779, r304780, r304781, r304782, r304802 2016-08-27 02:53:21 +00:00
pam.d Merge r270677 from head: 2014-09-03 23:18:13 +00:00
periodic MFC r306048 2016-10-03 15:17:22 +00:00
pkg MFC r263937: 2014-03-30 15:29:54 +00:00
ppp
rc.d MFC r307755: swapoff: Remove only late devices with -aL. 2016-11-20 13:44:27 +00:00
root Remove hack to emulate effective uid and just use the EUID's name in the 2012-12-05 13:56:39 +00:00
sendmail MFC: Minor changes to force commit these files so new freebsd*.cf files 2015-07-09 05:25:47 +00:00
amd.map
apmd.conf
auto_master MFC r279955: 2015-05-21 13:42:37 +00:00
crontab
csh.cshrc
csh.login
csh.logout
ddb.conf
devd.conf MFC r285675: 2015-08-02 09:39:41 +00:00
devfs.conf Remove example for linking /dev/vga to /dev/ttyv0, this hasn't been 2011-10-27 20:39:20 +00:00
dhclient.conf
disktab 10 years too late add support for "2.88MB 3.5in Extra High Density" 2012-11-02 00:17:30 +00:00
fbtab
freebsd-update.conf Merge r257694 from head: 2013-11-14 09:14:33 +00:00
ftpusers MFC 256365 2013-10-12 06:08:18 +00:00
gettytab MFC r262955: 2015-06-04 01:52:17 +00:00
group MFC 256365 2013-10-12 06:08:18 +00:00
hosts
hosts.allow
hosts.equiv
hosts.lpd
inetd.conf MFC r285253 (hrs): 2015-07-20 21:52:05 +00:00
libalias.conf
libmap32.conf Remove unneeded mappings from libmap32.conf. Move it up one level and 2013-09-09 06:02:30 +00:00
libmap.conf Include /usr/local/etc/libmap.d/ by default. 2013-08-01 05:50:42 +00:00
login.access
login.conf Increase the "memorylocked" limit for the "daemon" class. 2013-01-27 21:55:01 +00:00
mac.conf Spelling fixes for etc/ 2012-01-07 16:10:32 +00:00
Makefile MFC r289421, r293037, r294773, and r294884. 2016-02-10 07:16:17 +00:00
man.alias
master.passwd MFC 256365 2013-10-12 06:08:18 +00:00
minfree
motd MFC r273985: 2014-11-05 04:25:23 +00:00
netconfig
netstart MFH (r290006): loading rc.subr and rc.conf has no effect here 2016-01-26 08:57:45 +00:00
network.subr MFC r278933: 2015-02-26 19:56:48 +00:00
networks
newsyslog.conf MFC r266463: 2014-06-05 15:21:25 +00:00
nls.alias
nscd.conf
nsmb.conf
nsswitch.conf Revert r224760, and enhance the sed patterns from r224659 to comment out 2011-08-10 20:52:02 +00:00
ntp.conf MFC r289421, r293037, r294773, and r294884. 2016-02-10 07:16:17 +00:00
opieaccess
pccard_ether Not only load pccard_ether settings, also load network settings. This 2012-11-08 20:34:12 +00:00
pf.os Sync pf.os with OpenBSD: 2012-12-10 20:52:52 +00:00
phones
portsnap.conf MFC r286375: 2015-08-06 19:45:25 +00:00
printcap
profile
protocols MFC r298881, 298882, 298883, 298885: 2016-05-15 03:15:36 +00:00
rc MFC r258894: Make rc(8) re-source rc.conf upon receipt of SIGALRM. 2013-12-06 20:48:53 +00:00
rc.bsdextended
rc.firewall MFH: r284691 2015-08-24 03:51:18 +00:00
rc.initdiskless MFC r298881, 298882, 298883, 298885: 2016-05-15 03:15:36 +00:00
rc.resume wpa_supplicant should be able to reassociate when resuming, so remove a 2013-07-04 07:32:40 +00:00
rc.sendmail
rc.shutdown MFH (r290008): load_rc_config no longer requires a service name 2016-01-26 08:58:59 +00:00
rc.subr MFC r291770: rc.subr: Check for running daemons before a custom start_cmd 2015-12-18 19:58:34 +00:00
rc.suspend Revert r211288 and move the logic to the acpi_timer itself. 2012-02-08 20:31:42 +00:00
regdomain.xml Add a new 900MHz GSM regulatory SKU for the Xagyl Communications XC900M. 2012-12-07 06:34:46 +00:00
remote
rpc
services MFC r292564: 2015-12-24 16:55:09 +00:00
shells
snmpd.config Add (disabled) sample configuration lines needed to enable snmp_target(3) module 2010-12-20 17:28:15 +00:00
sysctl.conf
syslog.conf MFC 259339 2014-01-10 17:56:23 +00:00
termcap.small Fix termcap entry typo. 2011-02-09 10:06:31 +00:00