1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-19 15:33:56 +00:00
freebsd/sys
Hiren Panchasara 41bb1a25a9 In sendit(), if mp->msg_control is present, then in sockargs() we are allocating
mbuf to store mp->msg_control. Later in kern_sendit(), call to getsock_cap(),
will check validity of file pointer passed, if this fails EBADF is returned but
mbuf allocated in sockargs() is not freed. Fix this possible leak.

Submitted by:	Lohith Bellad <lohith.bellad@me.com>
Reviewed by:	adrian
MFC after:	3 weeks
Differential Revision:	https://reviews.freebsd.org/D7910
2016-09-26 10:13:58 +00:00
..
amd64 Fix vm86 initialization, part 3 of 2 and a half. (Actually, just fix 2016-09-25 14:56:24 +00:00
arm Update PCI driver to match new dts tree 2016-09-25 23:48:15 +00:00
arm64 Add a way for the architecture to specify the calling ABI for methods 2016-09-21 10:35:44 +00:00
boot Use 32-bit value for .text padding, for linker portability 2016-09-23 13:18:59 +00:00
bsm
cam Protect ccbq access with devq->send_mtx in the XPT_ABORT handler. 2016-09-21 00:08:42 +00:00
cddl Move implementations of uread() and uwrite() to the illumos compat layer. 2016-09-24 21:40:14 +00:00
compat cloudabi: use fget_cap instead of hand-rolling capability read 2016-09-23 23:08:23 +00:00
conf Move implementations of uread() and uwrite() to the illumos compat layer. 2016-09-24 21:40:14 +00:00
contrib Update Annapurna Alpine HAL 2016-09-20 09:19:22 +00:00
crypto
ddb Determine the operand/address size of %cs in a new function 2016-09-25 16:30:29 +00:00
dev [ath_hal] add a new regdomain flag - I think this means "yes, you can use this 2016-09-26 02:05:02 +00:00
fs Mount msdosfs with longnames support by default. 2016-09-23 19:05:07 +00:00
gdb
geom Use g_wither_provider() where applicable. 2016-09-23 21:29:40 +00:00
gnu Revert and redo r306083. 2016-09-22 15:17:36 +00:00
i386 Minor fixes for 160-bit disassembly: 2016-09-25 18:39:24 +00:00
isa
kern In sendit(), if mp->msg_control is present, then in sockargs() we are allocating 2016-09-26 10:13:58 +00:00
kgssapi
libkern
mips Set the standard freebsd brand note for ELF binaries on MIPS, 2016-09-22 12:48:01 +00:00
modules Move implementations of uread() and uwrite() to the illumos compat layer. 2016-09-24 21:40:14 +00:00
net bridge: Fix fragment handling and memory leak 2016-09-24 07:09:43 +00:00
net80211 [net80211] don't add IBSS node table entries for neighbors from other SSIDs. 2016-09-21 19:48:07 +00:00
netgraph
netinet capsicum: propagate rights on accept(2) 2016-09-22 09:58:46 +00:00
netinet6 Convert checks in nd6_dad_start() and nd6_dad_timer() to assertions. 2016-09-24 21:40:24 +00:00
netipsec
netnatm
netpfil Move opcode rewriter init and destroy handlers into non-VENT code. 2016-09-18 17:35:17 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
pc98
powerpc Revert part of r306065 2016-09-21 22:09:17 +00:00
riscv
rpc
security
sparc64
sys Mount msdosfs with longnames support by default. 2016-09-23 19:05:07 +00:00
teken
tests
tools
ufs Be more strict when selecting between snapshot/regular mount. 2016-09-19 15:58:33 +00:00
vm
x86 Detect x2APIC mode on boot and obey it. 2016-09-19 15:58:45 +00:00
xdr
xen
Makefile