dewarp: dewarp kasan issue [1/1]

PD#SWPL-178593

Problem:
current_item use after free

Solution:
us is_idle instead of current_item

Verify:
s6

Change-Id: I95051da49c0bfd7ae6feaf73f3334bd18791bd08
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
This commit is contained in:
yuhua.lin
2024-09-12 19:32:24 +08:00
committed by gerrit autosubmit
parent a2bc043d0d
commit 0cd5ecf294
3 changed files with 24 additions and 30 deletions
+3
View File
@@ -149,7 +149,10 @@ struct gdc_context_s {
struct list_head free_queue;
wait_queue_head_t cmd_complete;
int gdc_request_exit;
struct completion process_complete;
int wq_state;
spinlock_t lock; /* for get and release item. */
struct mutex destroy_lock;
};
/* format type and format bit width mask