about summary refs log tree commit diff
path: root/src/core/supplicant
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2026-05-14 19:21:28 +0200
committerMichael Biebl <biebl@debian.org>2026-05-14 19:21:28 +0200
commit4312005496b2f64293dd5a34fd81e4cba5a19c5b (patch)
tree98c36475837c1f15559d4850a9a0368923fcee04 /src/core/supplicant
parentd877daadf2a7d90283a4b48a48fe854d1e9c78a6 (diff)
parent869e9027026cdbb15d4e4a6327ff41d2697858eb (diff)
Update upstream source from tag 'upstream/1.56.1'
Update to upstream version '1.56.1'
with Debian dir ea0a29e73fef8e57cffc45da43243a29de64bb9e
Diffstat (limited to 'src/core/supplicant')
-rw-r--r--src/core/supplicant/nm-supplicant-settings-verify.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/supplicant/nm-supplicant-settings-verify.c b/src/core/supplicant/nm-supplicant-settings-verify.c
index 6e5e44d2..cca53d82 100644
--- a/src/core/supplicant/nm-supplicant-settings-verify.c
+++ b/src/core/supplicant/nm-supplicant-settings-verify.c
@@ -212,18 +212,19 @@ validate_type_utf8(const struct Opt *opt, const char *value, const guint32 len)
 }
 
 static gboolean
-validate_type_keyword(const struct Opt *opt, const char *value, const guint32 len)
+validate_type_keyword(const struct Opt *opt, const char *value_in, const guint32 len)
 {
     gs_free char *value_free = NULL;
+    char         *value;
 
     nm_assert(opt);
-    nm_assert(value);
+    nm_assert(value_in);
 
     /* Allow everything */
     if (!opt->str_allowed)
         return TRUE;
 
-    value = nm_strndup_a(300, value, len, &value_free);
+    value = nm_strndup_a(300, value_in, len, &value_free);
 
     /* validate each space-separated word in 'value' */