]> git.ipfire.org Git - thirdparty/lxc.git/commit
string_utils: get around GCC-11 false positives 3823/head
authorEvgeny Vereshchagin <evvers@ya.ru>
Mon, 3 May 2021 20:44:05 +0000 (20:44 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Mon, 3 May 2021 23:07:20 +0000 (23:07 +0000)
commit6d345aa40dffdce420953e436c8243cae40b42bf
tree647c9772b9d7467e4dfd0c55ad2c0b738367d7fa
parent705b2c32d14d8dc8cfa167a16bed5a3255e353a1
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/3752

Signed-off-by: Evgeny Vereshchagin <evvers@ya.ru>
src/lxc/string_utils.c