When declaring a function with __attribute__((alloc_size(n))), gcc segfaults if
n exceeds the number of arguments to the function.


-- 
           Summary: Out-of-bounds parameter to alloc_size causes gcc to
                    segfault
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: df at dfranke dot us
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36021

Reply via email to