History

ARM: 8658/1: uaccess: fix zeroing of 64-bit get_user()

The 64-bit get_user() wasn't clearing the high word due to a typo in the error handler. The exception handler entry was already correct, though. Noticed during recent usercopy test additions in lib/test_user_copy.c.

Kees Cook committed 9 years ago

Commit 9e344041 parent 32b14361 file · +1 −1Browse files

Unified · Split

arch/arm/lib/getuser.S+1−1
@@ -67,7 +67,7 @@ ENTRY(__get_user_4) · 66 unmodified lines
67ENDPROC(__get_user_4)67ENDPROC(__get_user_4)
68 68
69ENTRY(__get_user_8)69ENTRY(__get_user_8)
70 check_uaccess r0, 8, r1, r2, __get_user_bad70 check_uaccess r0, 8, r1, r2, __get_user_bad8
71#ifdef CONFIG_THUMB2_KERNEL71#ifdef CONFIG_THUMB2_KERNEL
725: TUSER(ldr) r2, [r0]725: TUSER(ldr) r2, [r0]
736: TUSER(ldr) r3, [r0, #4]736: TUSER(ldr) r3, [r0, #4]

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t