History log of /openbmc/hiomapd/vpnor/test/toc_missing_file_reset.cpp (Results 1 – 1 of 1)
Revision Date Author Comments
# 2be4563d 20-Nov-2024 Ninad Palsule <ninad@linux.ibm.com>

vpnor: Fix SEGV fault in vpnor

Table object may throw error hence initialize table pointer to null so
that vpnor_free() doesn't free the junk pointer.
In vpnor_free() do not free table pointer if it

vpnor: Fix SEGV fault in vpnor

Table object may throw error hence initialize table pointer to null so
that vpnor_free() doesn't free the junk pointer.
In vpnor_free() do not free table pointer if its null.

Added testcase to make sure the issue is fixed.
```
PASS: vpnor/test/toc_missing_file_reset
```

Change-Id: Ic6f4a7d163cf786d71b810190ab6ede0cd3a0717
Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>

show more ...