NetworkManager/shared/nm-keyfile
Thomas Haller 42aea87d51
keyfile: use NMStrBuf in nm_keyfile_plugin_kf_set_integer_list_uint8()
Previously, we were preallocating a string buffer of fixed size. For guint8
we reserved 3 characters per number, which is sufficient. However, it is
not obviously sufficient. NMStrBuf would grow as needed.

Next, I will add nm_keyfile_plugin_kf_set_integer_list_uint(), where it
is more unclear how large the string can be at most. To avoid that question
from the start, it will use NMStrBuf. To keep the implementations similar,
use NMStrBuf also in this case.
2020-05-04 12:47:11 +02:00
..
nm-keyfile-internal.h libnm/keyfile: build keyfile code as separate GPL licensed internal library 2020-01-07 13:17:47 +01:00
nm-keyfile-utils.c keyfile: use NMStrBuf in nm_keyfile_plugin_kf_set_integer_list_uint8() 2020-05-04 12:47:11 +02:00
nm-keyfile-utils.h keyfile: use NMStrBuf in nm_keyfile_plugin_kf_set_integer_list_uint8() 2020-05-04 12:47:11 +02:00
nm-keyfile.c keyfile: minor cleanup handling error in read_array_of_uint() 2020-04-15 22:37:51 +02:00