Files
kernel_common_drivers/drivers/crypto
Mingyen Hung 506b4ef4f1 crypto: for coverity failures [1/1]
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>
2024-11-12 10:26:45 +08:00
..
2024-04-18 18:55:33 +08:00