1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/lib
Kenneth D. Merry 7b7c7a0533 Fix several problems found by Coverity.
lib/libmt/mtlib.c:
	In mt_start_element(), make sure we don't overflow the
	cur_sb array.  CID 1271325

usr.bin/mt/mt.c:
	In main(), bzero the mt_com structure so that we aren't
	using any uninitialized stack variables.  CID 1271319

	In mt_param(), only allow one -s and one -p argument.  This
	will prevent a memory leak caused by overwriting the
	param_name and/or param_value variables.  CID 1271320 and
	CID 1271322

	To make things simpler in mt_param(), make sure there
	there is only one exit path for the function.  Make sure
	the arguments are explicitly freed.

Sponsored by:	Spectra Logic
Pointed out by:	emaste
MFC after:	1 month
2015-02-25 04:30:23 +00:00
..
atf
clang
csu
libalias
libarchive
libauditd
libbegemot
libblocksruntime
libbluetooth
libbsdstat
libbsm
libbsnmp
libbz2
libc setmode(3): Make sure that setmode sets errno on failure. 2015-02-22 20:16:44 +00:00
libc_nonshared
libc++
libcalendar
libcam
libcapsicum
libcasper
libclang_rt
libcom_err
libcompat
libcompiler_rt
libcrypt
libcuse
libcxxrt
libdevctl
libdevinfo
libdevstat
libdpv
libdwarf
libedit
libefi
libelf
libelftc
libevent
libexecinfo
libexpat
libfetch
libfigpar
libgeom
libgpib
libgpio
libgssapi
libiconv_modules
libipsec
libjail
libkiconv
libkvm
libldns
liblzma
libmagic
libmandoc
libmd
libmemstat
libmilter
libmp
libmt Fix several problems found by Coverity. 2015-02-25 04:30:23 +00:00
libnandfs
libnetbsd
libnetgraph
libngatm
libnv
libohash
libopie
libpam
libpcap
libpjdlog
libpmc
libproc
libprocstat
libradius
librpcsec_gss
librpcsvc
librt
librtld_db
libsbuf
libsdp
libsm
libsmb
libsmdb
libsmutil
libsqlite3
libstand
libstdbuf
libstdthreads
libtacplus
libtelnet
libthr
libthread_db
libucl
libufs
libugidfw
libulog
libunbound
libusb
libusbhid
libutil
libvgl
libvmmapi
libwrap
libxo
liby
libypclnt
libz
msun msun: drop unnecessary checks (part 2). 2015-02-24 16:45:16 +00:00
ncurses
tests
Makefile Significant upgrades to sa(4) and mt(1). 2015-02-23 21:59:30 +00:00
Makefile.inc