From fc26d91ac014b6f9b78680871fc0614d8c84def2 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Wed, 22 Apr 2020 12:25:36 +0100 Subject: [PATCH] e sys l2ping - handle null params fixes T8674 --- src/bin/system/e_system_l2ping.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/system/e_system_l2ping.c b/src/bin/system/e_system_l2ping.c index 7020ea5e3..aac45c840 100644 --- a/src/bin/system/e_system_l2ping.c +++ b/src/bin/system/e_system_l2ping.c @@ -199,6 +199,7 @@ _cb_l2ping_ping(void *data EINA_UNUSED, const char *params) char dev[1024]; Action *a; + if (! params) return; if (sscanf(params, "%1023s %i", dev, &timeout) != 2) return; if (timeout < 1) timeout = 1; else if (timeout > (1000 * 600)) timeout = 1000 * 600;