diff options
author | Sohaib Nadeem <[email protected]> | 2024-01-31 16:40:37 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-02-15 14:18:43 -0500 |
commit | 0484e05d048b66d01d1f3c1d2306010bb57d8738 (patch) | |
tree | 18bf8c09f9fe00605fd685bc8b55ae5168accc1c /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 46806e59a87790760870d216f54951a5b4d545bc (diff) |
drm/amd/display: fixed integer types and null check locations
[why]:
issues fixed:
- comparison with wider integer type in loop condition which can cause
infinite loops
- pointer dereference before null check
Cc: Mario Limonciello <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: [email protected]
Reviewed-by: Josip Pavic <[email protected]>
Acked-by: Aurabindo Pillai <[email protected]>
Signed-off-by: Sohaib Nadeem <[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