mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 17:37:10 +07:00
0c29ba1b43
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 |