The "plane_state" pointer was access before checking if it was NULL.
Avoid a possible NULL pointer dereference by accessing the plane
address after the check.
Addresses-Coverity-ID: 1493892 ("Dereference before null check")
Fixes:
|
||
---|---|---|
.. | ||
dcn201_dccg.c | ||
dcn201_dccg.h | ||
dcn201_dpp.c | ||
dcn201_dpp.h | ||
dcn201_hubbub.c | ||
dcn201_hubbub.h | ||
dcn201_hubp.c | ||
dcn201_hubp.h | ||
dcn201_hwseq.c | ||
dcn201_hwseq.h | ||
dcn201_init.c | ||
dcn201_init.h | ||
dcn201_link_encoder.c | ||
dcn201_link_encoder.h | ||
dcn201_mpc.c | ||
dcn201_mpc.h | ||
dcn201_opp.c | ||
dcn201_opp.h | ||
dcn201_optc.c | ||
dcn201_optc.h | ||
dcn201_resource.c | ||
dcn201_resource.h | ||
Makefile |