disp: msm: sde: Fix null dereference errors
Add changes to avoid NULL dereference access and uninitalized access in sde driver. Change-Id: Ic9c06f54d1ccd820973fc0ba4aa75d2848f2ce03 Signed-off-by: Jayaprakash <jmadiset@codeaurora.org>
This commit is contained in:

committad av
santosh

förälder
3bfb8cafce
incheckning
11aab5f9c3
@@ -2346,7 +2346,7 @@ int sde_rm_reserve(
|
||||
* comes again after earlier commit gets processed.
|
||||
*/
|
||||
|
||||
if (test_only && rsvp_nxt) {
|
||||
if (test_only && rsvp_cur && rsvp_nxt) {
|
||||
SDE_ERROR("cur %d nxt %d enc %d conn %d\n", rsvp_cur->seq,
|
||||
rsvp_nxt->seq, enc->base.id,
|
||||
conn_state->connector->base.id);
|
||||
|
Referens i nytt ärende
Block a user