diff options
author | Taimur Hassan <[email protected]> | 2023-06-20 17:00:28 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-07-18 14:33:47 -0400 |
commit | 5a25cefc0920088bb9afafeb80ad3dcd84fe278b (patch) | |
tree | 60c63b69b018bbeb5dd7e2fdcb1effea4cf9b888 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 4f6d9e38c4d244ad106eb9ebd8c0e1215e866f35 (diff) |
drm/amd/display: check TG is non-null before checking if enabled
[Why & How]
If there is no TG allocation we can dereference a NULL pointer when
checking if the TG is enabled.
Cc: Mario Limonciello <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: [email protected]
Reviewed-by: Nicholas Kazlauskas <[email protected]>
Acked-by: Alan Liu <[email protected]>
Signed-off-by: Taimur Hassan <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions