Thanks for reporting that. It's indeed a bug in the Gnulib tests. I installed
the attached patch to work around the problem by removing the questionable
tests. I don't see an easy way to test everything that we were trying to test.
>From 175e0bc72808d564074c4adcc72aeadb74adfcc6 Mon Sep 17 00:00:0
The problem is visible with glibc 2.32 under valgrind:
==20== Invalid read of size 1
==20==at 0x483DAB4: strcmp (vg_replace_strmem.c:847)
==20==by 0x109414: main (test-perror2.c:84)
==20== Address 0x4a1a3d0 is 0 bytes inside a block of size 17 free'd
==20==at 0x483A9F5: free (vg_repla