https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65089

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |kcc at gcc dot gnu.org

--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
I confirme that the patch in comment 3 "fixes" the PR. I have added a line

printf("len=%d, strlen(p)=%d\n", len, strlen(p));

after the 'for' loop and AFAICT len == strlen(p), however runing the code
compiled with -fsanitize=address still gives the error.

So I am wondering if this PR is not a sanitizer false positive when using
strlen.

Reply via email to