mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-22 01:43:37 -04: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.h | ||
rmnet_map_command.c | ||
rmnet_map_data.c | ||
rmnet_private.h | ||
rmnet_vnd.c | ||
rmnet_vnd.h |