No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Yash Upadhyay 336163ddec msm: camera: memmgr: Avoid TOCTOU buffer access on multiple use of same fd
Fd is a user-accessible value, referring it multiple times
leads to TOCTOU issues. Dma_buf can be freed after the 1st
use of fd and userspace can create another dma_buf but with
same fd. In such scenario, during 2nd use of fd, we may get
a different dma_buf with different length. To avoid this, we
can use same dma_buf instead of retrieving it twice using same
fd. In this change FD is accessed only once in syscall.

CRs-Fixed: 3159446
Change-Id: I00eb6dd3d798165f5c6c0bd59feabe80a68592b1
Signed-off-by: Yash Upadhyay <quic_yupadhya@quicinc.com>
2022-08-03 10:04:47 +05:30
config msm: camera: config: Enable camera drivers for qcs610 2021-12-03 01:58:20 -08:00
drivers msm: camera: memmgr: Avoid TOCTOU buffer access on multiple use of same fd 2022-08-03 10:04:47 +05:30
include/uapi msm: camera: ope: Increase max bl limit and max stripe to process 2021-11-26 12:12:16 +05:30
Makefile msm: camera: config: Enable camera drivers for qcs610 2021-12-03 01:58:20 -08:00