linux/arch
Chen Gang 98bd8d05ea arch/frv/kernel/setup.c: use strncmp() instead of memcmp()
'cmdline' is a NUL terminated string, when its length < 4, memcmp()
will cause memory access out of boundary.

So use strncmp() instead of memcmp().

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-07-03 16:07:41 -07:00
..
alpha mm/ALPHA: clean up unused VALID_PAGE() 2013-07-03 16:07:39 -07:00
arc mm/ARC: prepare for removing num_physpages and simplify mem_init() 2013-07-03 16:07:35 -07:00
arm mm/ARM: fix stale comment about VALID_PAGE() 2013-07-03 16:07:39 -07:00
arm64 mm/microblaze: prepare for removing num_physpages and simplify mem_init() 2013-07-03 16:07:36 -07:00
avr32 mm/AVR32: prepare for killing free_all_bootmem_node() 2013-07-03 16:07:38 -07:00
blackfin mm/blackfin: prepare for removing num_physpages and simplify mem_init() 2013-07-03 16:07:35 -07:00
c6x mm/c6x: prepare for removing num_physpages and simplify mem_init() 2013-07-03 16:07:35 -07:00
cris mm/CRIS: clean up unused VALID_PAGE() 2013-07-03 16:07:39 -07:00
frv arch/frv/kernel/setup.c: use strncmp() instead of memcmp() 2013-07-03 16:07:41 -07:00
h8300 mm/h8300: prepare for removing num_physpages and simplify mem_init() 2013-07-03 16:07:36 -07:00
hexagon mm/hexagon: prepare for removing num_physpages and simplify mem_init() 2013-07-03 16:07:36 -07:00
ia64 mm/IA64: prepare for killing free_all_bootmem_node() 2013-07-03 16:07:38 -07:00
m32r mm/m32r: prepare for killing free_all_bootmem_node() 2013-07-03 16:07:38 -07:00
m68k mm/m68k: fix build warning of unused variable 2013-07-03 16:07:39 -07:00
metag mm/metag: prepare for killing free_all_bootmem_node() 2013-07-03 16:07:38 -07:00
microblaze mm/microblaze: clean up unused VALID_PAGE() 2013-07-03 16:07:40 -07:00
mips mm/MIPS: prepare for killing free_all_bootmem_node() 2013-07-03 16:07:39 -07:00
mn10300 mm/mn10300: prepare for removing num_physpages and simplify mem_init() 2013-07-03 16:07:37 -07:00
openrisc mm/openrisc: prepare for removing num_physpages and simplify mem_init() 2013-07-03 16:07:37 -07:00
parisc mm/PARISC: prepare for killing free_all_bootmem_node() 2013-07-03 16:07:39 -07:00
powerpc mm/PPC: prepare for killing free_all_bootmem_node() 2013-07-03 16:07:39 -07:00
s390 mm/s390: prepare for removing num_physpages and simplify mem_init() 2013-07-03 16:07:37 -07:00
score mm/score: prepare for removing num_physpages and simplify mem_init() 2013-07-03 16:07:37 -07:00
sh mm/SH: prepare for killing free_all_bootmem_node() 2013-07-03 16:07:39 -07:00
sparc mm/SPARC: prepare for removing num_physpages and simplify mem_init() 2013-07-03 16:07:37 -07:00
tile mm/tile: prepare for removing num_physpages and simplify mem_init() 2013-07-03 16:07:37 -07:00
um mm/um: prepare for removing num_physpages and simplify mem_init() 2013-07-03 16:07:37 -07:00
unicore32 mm/unicore32: fix stale comment about VALID_PAGE() 2013-07-03 16:07:40 -07:00
x86 mm/x86: prepare for removing num_physpages and simplify mem_init() 2013-07-03 16:07:38 -07:00
xtensa mm/xtensa: prepare for removing num_physpages and simplify mem_init() 2013-07-03 16:07:38 -07:00
.gitignore
Kconfig mm: soft-dirty bits for user memory changes tracking 2013-07-03 16:07:26 -07:00