linux-xiaomi-chiron/arch
Balbir Singh 361371201b uml: boot broken due to buffer overrun
mconsole_init() passed 256 bytes as length in os_create_unix_socket, while
the sizeof UNIX_PATH_MAX is 108. This patch fixes that problem and avoids
a big overrun bug reported on UML bootup.

sockaddr_un.sun_path is UNIX_PATH_MAX long which causes the problem.
Reported-by: Vikas K Managutte <vikki.km@gmail.com>
Reported-by: Sarvesh Kumar Lal Das <skldas@gmail.com>
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi>
Reviewed-by: WANG Cong <wangcong@zeuux.org>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: <stable@kernel.org>		[please check with Jeff]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-12-10 08:01:52 -08:00
..
alpha
arm Merge master.kernel.org:/home/rmk/linux-2.6-arm 2008-12-09 08:29:31 -08:00
avr32
blackfin
cris
frv
h8300
ia64
m32r
m68k
m68knommu
mips MIPS: Fix incorrect use of loose in vpe.c 2008-12-05 18:19:23 +00:00
mn10300 MN10300: Introduce barriers to replace removed volatiles in gdbstub 16550 driver 2008-12-03 16:47:40 -08:00
parisc
powerpc Merge branch 'merge' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc into merge 2008-12-09 14:58:37 +11:00
s390
sh
sparc sparc: asm/bitops.h should define __fls 2008-12-03 16:04:52 -08:00
sparc64 sparc64: Sync FPU state in VIS emulation handler. 2008-12-04 09:12:57 -08:00
um uml: boot broken due to buffer overrun 2008-12-10 08:01:52 -08:00
x86 x86: fix default_spin_lock_flags() prototype 2008-12-08 16:08:29 +01:00
xtensa
.gitignore
Kconfig