Skip to content
Commit 0106fe6a authored by Phil Elwell's avatar Phil Elwell Committed by popcornmix
Browse files

driver: char: rpivid: Don't map more than wanted



Limit mappings to the permitted range, but don't map more than asked
for otherwise we walk off the end of the allocated VMA.

Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.com>
parent fe38041c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment