mirror of
https://github.com/opnsense/src.git
synced 2026-02-16 09:08:51 -05:00
The code paths while dumping do not got through busdma. As such,
safeguard against calling bus_dmamap_sync() with a NULL map. The x86
implementation tolerates this but others do not, resulting in a
NULL dereference panic when dumping to a vtblk device on arm64, riscv,
etc.
Fixes:
|
||
|---|---|---|
| .. | ||
| virtio_blk.c | ||
| virtio_blk.h | ||