[Bug 38456] valgrind shows several uninitialized variables in programs/reg/tests/reg.c