diff options
author | Rob Clark <[email protected]> | 2023-02-15 15:50:48 -0800 |
---|---|---|
committer | Rob Clark <[email protected]> | 2023-02-22 11:22:03 -0800 |
commit | 8a86f213f4426f19511a16d886871805b35c3acf (patch) | |
tree | 83444fead9aefe43142323e96a07cff5cf7ccc5a /drivers/usb/cdns3/cdns3-trace.c | |
parent | 92dd0575729a423aa5524d89055e34295152a2dd (diff) |
drm/msm: Fix potential invalid ptr free
The error path cleanup expects that chain and syncobj are either NULL or
valid pointers. But post_deps was not allocated with __GFP_ZERO.
Fixes: ab723b7a992a ("drm/msm: Add syncobj support.")
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Reviewed-by: Dmitry Osipenko <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/523051/
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions