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

            Bug ID: 98002
           Summary: gcc.dg/strncmp-2.c frees mproptected memory
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

gcc.dg/strncmp-2.c invokes free() on a buffer that has been mprotected with
PROT_NONE.  This causes glibc to crash if the environment has memory debugging
enabled like with

MALLOC_PERTURB_=69
MALLOC_CHECK_=3

Reply via email to