test: add coverage for #29610
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 19 Oct 2023 14:23:28 +0000 (16:23 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 19 Oct 2023 14:23:28 +0000 (16:23 +0200)
commit4701425dd58f90f8bd51cc215916f7d7828e547f
treea7c47a1d3415fc011b636c00cdee6aebc0da2ec7
parent447894be41e72d89182437821d82f6fa35011dc5
test: add coverage for #29610

As reproducing it is actually pretty easy, with the benefit of hindsight:

~# systemd-run -P -p MountImages="/this/should/definitely/not/exist.img:/run/img2\:3:nosuid" false
Running as unit: run-u42.service
free(): double free detected in tcache 2
test/units/testsuite-50.sh