linux/arch/mips/pmc-sierra/yosemite
Thomas Jarosch 617d101754 MIPS: Yosemite, Emma: Fix off-by-two in arcs_cmdline buffer size check
Cause is a misplaced bracket.

The code

    strlen(buf+1)

will be two bytes less than

    strlen(buf)+1

The +1 is in this code to reserve space for an additional space character.

[ralf@linux-mips.org: Thomas' original patch fixed the issue only for
 Yosemite but the same bug exists also in Emma.]

Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
Patchwork: https://patchwork.linux-mips.org/patch/2861/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2011-11-08 12:35:29 +00:00
..
atmel_read_eeprom.c MIPS: Remove trailing space in messages 2010-02-27 12:53:25 +01:00
atmel_read_eeprom.h MIPS: Nuke trailing blank lines 2010-02-27 12:53:14 +01:00
ht-irq.c MIPS: Yosemite: ht-irq.c: Checkpatch cleanup 2010-08-05 13:25:41 +01:00
ht.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
irq.c MIPS: Cavium: Remove dead CONFIG_GDB_CONSOLE 2010-08-05 13:26:00 +01:00
Makefile mips: change to new flag variable 2011-03-17 14:02:56 +01:00
prom.c MIPS: Yosemite, Emma: Fix off-by-two in arcs_cmdline buffer size check 2011-11-08 12:35:29 +00:00
py-console.c Revert "MIPS: LD/SD o32 macro GAS fix update" 2011-10-20 15:00:19 +01:00
setup.c timekeeping: Increase granularity of read_persistent_clock() 2009-08-15 10:55:46 +02:00
setup.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smp.c sched: Provide scheduler_ipi() callback in response to smp_send_reschedule() 2011-04-14 08:52:32 +02:00