[lxc/lxc] 6d345a: string_utils: get around GCC-11 false positives

0 views
Skip to first unread message

Christian Brauner

unread,
May 3, 2021, 11:10:52 PM5/3/21
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 6d345aa40dffdce420953e436c8243cae40b42bf
https://github.com/lxc/lxc/commit/6d345aa40dffdce420953e436c8243cae40b42bf
Author: Evgeny Vereshchagin <evv...@ya.ru>
Date: 2021-05-03 (Mon, 03 May 2021)

Changed paths:
M src/lxc/string_utils.c

Log Message:
-----------
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 <evv...@ya.ru>


Commit: 13723cb9e5d63d376afae33225624a1f17369b9d
https://github.com/lxc/lxc/commit/13723cb9e5d63d376afae33225624a1f17369b9d
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-05-04 (Tue, 04 May 2021)

Changed paths:
M src/lxc/string_utils.c

Log Message:
-----------
Merge pull request #3823 from evverx/gcc-11-workaround

string_utils: get around GCC-11 false positives


Compare: https://github.com/lxc/lxc/compare/3176d82e3af2...13723cb9e5d6
Reply all
Reply to author
Forward
0 new messages