mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 08:08:03 +02:00
The return value of kzalloc_flex() is used without
ensuring that the allocation succeeded, and the
pointer is dereferenced unconditionally.
Guard the access to the allocated structure to
avoid a potential NULL pointer dereference if the
allocation fails.
Fixes:
|
||
|---|---|---|
| .. | ||
| axis-fifo | ||
| fbtft | ||
| greybus | ||
| iio | ||
| media | ||
| most | ||
| nvec | ||
| octeon | ||
| rtl8723bs | ||
| sm750fb | ||
| vc04_services | ||
| vme_user | ||
| Kconfig | ||
| Makefile | ||