diff options
Diffstat (limited to 'src/core/dbus-execute.c')
-rw-r--r-- | src/core/dbus-execute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-execute.c b/src/core/dbus-execute.c index 44f9ee57bd..1c82c7d90d 100644 --- a/src/core/dbus-execute.c +++ b/src/core/dbus-execute.c @@ -3462,7 +3462,7 @@ int bus_exec_context_set_transient_property( if (soft) { const char *n; - n = strndupa(suffix, soft - suffix); + n = strndupa_safe(suffix, soft - suffix); ri = rlimit_from_string(n); if (ri >= 0) name = strjoina("Limit", n); |