
Use dma_buf_get along with dma_buf_fd on the obtained fd in order to increment the reference count and avoid use after free on fd when it is freed from userspace. CRs-Fixed: 2419587 Change-Id: I57e1396234eebb60224ed58182cca80888e94a9e Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
38 KiB
38 KiB