mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
506b4ef4f1
PD#SWPL-190776 Problem: Coverity failures Solution: 1. Mark coverity event_tag: returned_null and use_after_free as false positive. 2. Coverity supposes krealloc() will free tmp_buf and return tmp_buf as tmp_buf2. This is incorrect, since tmp_buf is freed only when returned value(tmp_buf2) is NOT the same as tmp_buf in krealloc() Verify: Coverity(2024.3.0) Change-Id: I97864d6ae01dcac6e6b648c1ec44820d0f77c81c Signed-off-by: Mingyen Hung <mingyen.hung@amlogic.com>