mirror of
https://github.com/torvalds/linux.git
synced 2025-11-09 13:10:19 +02:00
Pointer dev_priv->mmio, which was checked for NULL at via_do_init_map(),
is passed to via_do_cleanup_map() and is dereferenced there without check.
The patch adds the condition in via_dma_cleanup() which prevents potential NULL
pointer dereference.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| via_3d_reg.h | ||
| via_dri1.c | ||