Skip to content
Snippets Groups Projects
Commit 2c92ef8f authored by Thomas Bogendoerfer's avatar Thomas Bogendoerfer
Browse files

MIPS: Fix strnlen_user access check


Commit 04324f44 ("MIPS: Remove get_fs/set_fs") changed the access_ok
for strnlen_user to check the whole range, which broke some callers
of strndup_user(). Restore the old behaviour and just check the first byte.

Fixes: 04324f44 ("MIPS: Remove get_fs/set_fs")
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 168b84d5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment