osmo-uecups/daemon
Harald Welte e36dbcbc03 daemon_vty: avoid null-dereference in argc < 0 case
in show_gtp_cmd, we have two different checks (argc > 0) vs (argc)
which means in theory argc could be negative and the second clause
would be executed without the first having set up related data such as
'ai'.

Fixes: CID#307521: Explicit null dereferenced (FORWARD_NULL)
Change-Id: I4149b0b191a34168ba6649338d3cdf6c6af6cfe7
2023-07-18 14:35:41 +02:00
..
Makefile.am Move several objects outside of main.c 2022-04-12 12:49:55 +02:00
cups_client.c Move several objects outside of main.c 2022-04-12 12:49:55 +02:00
daemon_vty.c daemon_vty: avoid null-dereference in argc < 0 case 2023-07-18 14:35:41 +02:00
gtp.h initial check-in of the UECUPS daemon and the related TTCN3 code 2020-04-15 22:01:52 +02:00
gtp_daemon.c gtp_daemon: Fix error paths in gtp_daemon_alloc() 2023-07-18 14:33:22 +02:00
gtp_endpoint.c initial check-in of the UECUPS daemon and the related TTCN3 code 2020-04-15 22:01:52 +02:00
gtp_tunnel.c work around bogus compiler warnings 2020-04-20 13:21:12 +02:00
internal.h Move several objects outside of main.c 2022-04-12 12:49:55 +02:00
main.c Transition to use of 'telnet_init_default' 2023-02-25 17:48:58 +01:00
netdev.c daemon: Work around old libnl3 failing to include linux/netlink.h 2020-04-20 13:21:12 +02:00
netns.c initial check-in of the UECUPS daemon and the related TTCN3 code 2020-04-15 22:01:52 +02:00
netns.h initial check-in of the UECUPS daemon and the related TTCN3 code 2020-04-15 22:01:52 +02:00
osmo-gtpu-daemon.cfg initial check-in of the UECUPS daemon and the related TTCN3 code 2020-04-15 22:01:52 +02:00
tun_device.c tun_device: Avoid deadlocks logging while thread is cancelled 2022-04-13 18:04:26 +02:00
utility.c initial check-in of the UECUPS daemon and the related TTCN3 code 2020-04-15 22:01:52 +02:00