mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-22 12:47:25 +00:00
The call to rmnet_get_endpoint can potentially return NULL so check
for this to avoid any subsequent null pointer dereferences on a NULL
ep.
Detected by CoverityScan, CID#1465385 ("Dereference null return value")
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| rmnet_config.c | ||
| rmnet_config.h | ||
| rmnet_handlers.c | ||
| rmnet_handlers.h | ||
| rmnet_map_command.c | ||
| rmnet_map_data.c | ||
| rmnet_map.h | ||
| rmnet_private.h | ||
| rmnet_vnd.c | ||
| rmnet_vnd.h | ||