Hi Juergen,

On 08/05/2023 12:47, Juergen Gross wrote:
@@ -2714,15 +2710,19 @@ static unsigned int get_optval_uint(const char *arg)
static bool what_matches(const char *arg, const char *what)
  {
-       unsigned int what_len = strlen(what);
+       unsigned int what_len;
+
+       if (!what)
+               return false;
+ what_len = strlen(what);

NIT: Keep the newline before the return.

Acked-by: Julien Grall <jgr...@amazon.com>

--
Julien Grall

Reply via email to