summaryrefslogtreecommitdiffstats
path: root/arch/nios2/include/asm/unaligned.h
diff options
context:
space:
mode:
authorJan Weitzel <j.weitzel@phytec.de>2011-11-22 13:32:19 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-11-22 21:14:28 +0100
commit6df16cb90d237a6cbc43cea2ffe920e260264bb0 (patch)
treeca220556dcf3961697af7cabf23d1a18e7cec36d /arch/nios2/include/asm/unaligned.h
parent41ee1923e604c2583aceab2b32c4fe43187e1dc2 (diff)
downloadbarebox-6df16cb90d237a6cbc43cea2ffe920e260264bb0.tar.gz
barebox-6df16cb90d237a6cbc43cea2ffe920e260264bb0.tar.xz
readkey: force return from while true
If read_key is feeded by STRG + KEY_LEFT you run into the while(1) loop and corrupt memory through esc array. Force return if index gets too high. Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/nios2/include/asm/unaligned.h')
0 files changed, 0 insertions, 0 deletions