]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-terminal-util: fix sigsegv when compiled without asserts
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 28 Mar 2019 08:35:26 +0000 (09:35 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 28 Mar 2019 08:45:19 +0000 (09:45 +0100)
commit3b1e405f36945be7873490e2cf59cfa558317ad3
tree7c293b0780fc66f718256f104cde0ad21d5f1e29
parent10c353e1c58d1496f591a48036369021212d8652
test-terminal-util: fix sigsegv when compiled without asserts

I couldn't figure out what is going on here, because LTO inlines everything and
then the backtrace reported a different spot. But when compiled with NDEBUG but
no LTO, it's fairly obvious ;)

C.f. #12008.
src/test/test-terminal-util.c