[Bug 38686] valgrind shows an invalid read in msi/tests/action.c