mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-06 23:20:34 +01:00
tui: fix a crash when editing an IPv6 address (rh #1103702)
https://bugzilla.redhat.com/show_bug.cgi?id=1103702
This commit is contained in:
parent
48b4d0eaf2
commit
5378d7929e
1 changed files with 1 additions and 1 deletions
|
|
@ -671,7 +671,7 @@ ip6_addresses_with_prefix_from_strv (GBinding *binding,
|
|||
NULL);
|
||||
|
||||
for (i = 0; strings[i]; i++) {
|
||||
if (i > addrs->len) {
|
||||
if (i >= addrs->len) {
|
||||
addr = g_value_array_new (3);
|
||||
|
||||
g_value_init (&val, DBUS_TYPE_G_UCHAR_ARRAY);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue