thumbnail: Check shm size before writing to it
The SHM is created by the application, which might've done a different size calculation. Verify that the data fits instead of writing past the end and crashing. CCBUG: 430862 (cherry picked from commit 112b67ae)
Loading
Please register or sign in to comment