aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorSui Jingfeng <[email protected]>2023-07-06 21:40:00 +0800
committerChun-Kuang Hu <[email protected]>2023-08-13 14:26:13 +0000
commit379091e0f6d179d1a084c65de90fa44583b14a70 (patch)
treebf5cddd9f58c8fa720e154eb53f00f380141adfd /lib/test_fortify/write_overflow-memcpy.c
parented6adfb7d4b5cb912c763f87dfedc1d41d3c4a49 (diff)
drm/mediatek: Fix potential memory leak if vmap() fail
Also return -ENOMEM if such a failure happens, the implement should take responsibility for the error handling. Fixes: 3df64d7b0a4f ("drm/mediatek: Implement gem prime vmap/vunmap function") Reviewed-by: Matthias Brugger <[email protected]> Reviewed-by: Alexandre Mergnat <[email protected]> Signed-off-by: Sui Jingfeng <[email protected]> Reviewed-by: CK Hu <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://patchwork.kernel.org/project/dri-devel/patch/[email protected]/ Signed-off-by: Chun-Kuang Hu <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions