string_utils: get around GCC-11 false positives
by getting rid of stpncpy
Tested with gcc (GCC) 11.1.1 20210428 (Red Hat 11.1.1-1)
Closes https://github.com/lxc/lxc/issues/3752Signed-off-by:
Evgeny Vereshchagin <evvers@ya.ru>
Showing
Please
register
or
sign in
to comment