On 12/21/25 15:23, Soumyajyotii Ssarkar wrote:
Add proper hba_private pointer cleanup in ncr710_command_complete.
This prevents use after free errors from occuring.
This was causing memory corruption in NetBSD device initialization
when commands complete and the request structures were freed while
still being referenced.
Signed-off-by: Soumyajyotii Ssarkar<[email protected]>
---
hw/scsi/ncr53c710.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
Reviewed-by: Helge Deller <[email protected]>