aboutgitcodebugslistschat
path: root/test/demo/podman
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-04-05 15:18:25 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-04-07 11:44:35 +0200
commit0bf6adc8865922b1adee9f05933771e8a53e500c (patch)
treea17317586843e001b3f396691b904a315d0fa053 /test/demo/podman
parent2b1fbf463148277a21aabc6ff1775a80feedb59f (diff)
downloadpasst-0bf6adc8865922b1adee9f05933771e8a53e500c.tar
passt-0bf6adc8865922b1adee9f05933771e8a53e500c.tar.gz
passt-0bf6adc8865922b1adee9f05933771e8a53e500c.tar.bz2
passt-0bf6adc8865922b1adee9f05933771e8a53e500c.tar.lz
passt-0bf6adc8865922b1adee9f05933771e8a53e500c.tar.xz
passt-0bf6adc8865922b1adee9f05933771e8a53e500c.tar.zst
passt-0bf6adc8865922b1adee9f05933771e8a53e500c.zip
arch: Pointer to local outside scope, CWE-562
Reported by Coverity: if we fail to run the AVX2 version, once execve() fails, we had already replaced argv[0] with the new stack-allocated path string, and that's then passed back to main(). Use a static variable instead. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/demo/podman')
0 files changed, 0 insertions, 0 deletions