freebsd-skq/sys
Ruslan Ermilov a1b0a18096 Prevent IOC_IN with zero size argument (this is only supported
if backward copatibility options are present) from attempting
to free memory that wasn't allocated.  This is an old bug, and
previously it would attempt to free a null pointer.  I noticed
this bug when working on the previous revision, but forgot to
fix it.

Security:	local DoS
Reported by:	Peter Holm
MFC after:	3 days
2006-10-14 19:01:55 +00:00
..
amd64 Move the 2 additional #includes down into the #ifndef DEV_ATPIC section. 2006-10-13 17:31:57 +00:00
arm PR: 2006-10-04 21:37:10 +00:00
boot Replace a rarely used "depuration" with "debugging". 2006-10-13 20:48:17 +00:00
bsm Merge OpenBSM 1.0 alpha 12 import changes into src/sys/bsm. New events 2006-09-25 12:22:07 +00:00
cam Add a SCSI da(4) quirk for Rekam USB Camera. 2006-10-07 19:04:23 +00:00
coda Since DELAY() was moved, most <machine/clock.h> #includes have been 2006-05-16 14:37:58 +00:00
compat Spell proc/sys/kernel/pid_max correctly in a comment. 2006-10-11 20:32:46 +00:00
conf Define an empty C_DIALECT in case of "icc", just in case. 2006-10-13 22:29:06 +00:00
contrib Workaround bad locking design: 2006-10-05 09:48:25 +00:00
crypto Less magic. 2006-09-15 10:44:55 +00:00
ddb The powerpc and sparc64 MD `reboot' commands should never have existed 2006-10-10 07:26:54 +00:00
dev Simplify the arguments to bce_tx_encap. 2006-10-14 05:30:12 +00:00
fs Use utc_offset() where applicable, and hide the internals of it 2006-10-02 18:23:37 +00:00
gdb Convert to new console api 2006-05-26 13:54:27 +00:00
geom Guard against invalid metadata. 2006-10-10 15:01:47 +00:00
gnu Add mnt_noasync counter to better handle interleaved calls to nmount(), 2006-09-26 04:15:59 +00:00
i4b Extend i4b to support CAPI manager based ISDN controllers (CAPI manager is part of 2006-07-09 21:16:06 +00:00
i386 Change the x86 interrupt code to suspend/resume interrupt controllers 2006-10-10 23:23:12 +00:00
ia64 Include freebsd32_signal.h now that signal-related definitions are 2006-10-06 19:33:44 +00:00
isa Use calendaric calculation support from subr_clock.c instead of home-rolled. 2006-10-02 16:18:40 +00:00
isofs/cd9660 Use mount interlock to protect all changes to mnt_flag and mnt_kern_flag. 2006-09-26 04:12:49 +00:00
kern Prevent IOC_IN with zero size argument (this is only supported 2006-10-14 19:01:55 +00:00
libkern Add strstr() function to the libkern. 2006-08-12 15:28:39 +00:00
modules A GEOM cache can speed up read performance by sending fixed size 2006-10-06 08:27:07 +00:00
net - Update the baudrate every time the parent changes its link state. 2006-10-11 10:06:35 +00:00
net80211 Now that we have COMPAT_FREEBSD6 officially, use it from opt_compat.h. 2006-09-26 12:41:13 +00:00
netatalk Since soisdisconnected() is no longer called in pru_detach(), call it 2006-08-05 14:14:34 +00:00
netatm Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netgraph Fix result of some mechanical change that I did some time ago, when 2006-10-13 09:11:12 +00:00
netinet o Do not do args->f_id.addr_type == 6 when there is 2006-10-11 12:14:28 +00:00
netinet6 Make net.inet6.ip6.auto_linklocal tunable. Someone may want to 2006-10-13 12:45:53 +00:00
netipsec Fix build breakage from previous commit which confused key_abort and key_close. 2006-07-22 09:18:02 +00:00
netipx Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netkey With exception of the if_name() macro, all definitions in net_osdep.h 2006-08-04 21:27:40 +00:00
netnatm Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netncp - Fix ncp_poll() to not panic if the socket doesn't have any pending data. 2006-08-03 15:31:52 +00:00
netsmb Fix misalignment bugs caused by invalid type casts of pointers 2006-08-22 03:05:51 +00:00
nfs
nfs4client Fixes up the handling of shared vnode lock lookups in the NFS client, 2006-09-13 18:39:09 +00:00
nfsclient Don't do null Setattr RPCs for VA_MARK_ATIME. When we added the 2006-10-14 07:25:11 +00:00
nfsserver - Add a new function nfsrv_destroycache() to tear down the server request 2006-08-01 16:27:14 +00:00
opencrypto When DIAGNOSTIC is defined, verify if we don't free crypto requests from 2006-06-06 15:04:52 +00:00
pc98 - Remove SCHED_ULE from GENERIC to better avoid foot-shooting by 2006-10-05 20:31:58 +00:00
pccard
pci Fix style(9) nits. 2006-10-09 20:26:32 +00:00
posix4 Backout the feature which can change thread's scheduling option, I really 2006-07-13 06:41:26 +00:00
powerpc The powerpc and sparc64 MD `reboot' commands should never have existed 2006-10-10 07:26:54 +00:00
rpc
security Do allow jailed superuser to override the port ACL. 2006-10-10 17:04:19 +00:00
sparc64 The T2000 has multiple PCI domains requiring bus allocation to be done differently. 2006-10-12 04:44:01 +00:00
sun4v Ignore the uart device. 2006-10-13 21:55:30 +00:00
sys Include pcpu.h so that kernel is buildable w/o RWLOCK_NOINLINE option 2006-10-13 19:43:35 +00:00
tools Check for errors when registering and unregistering firmware modules. This 2006-06-16 21:06:03 +00:00
ufs Do not translate the IN_ACCESS inode flag into the IN_MODIFIED while filesystem 2006-10-10 09:20:54 +00:00
vm sun4v requires TSBs (translation storage buffers) to be contiguous and be 2006-10-12 04:41:39 +00:00
Makefile Don't need to special case arm here anymore 2006-08-10 06:29:43 +00:00