[PATCH] Re: segfaults in pathological cases from gcc testsuite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I fix the second one as it is easier to reproduce and makes
more sense to fix.

Please see the patch attached.

A side note is that, I don't believe you can hit this using
real life C code. Maybe some programing generated C code.
There is not thing wrong in sparse except its recursion
is very deep. The patch special handle this test case.

The first one is even less interesting to fix.

Chris

On Oct 22, 2007 8:24 AM, Alexey Dobriyan <adobriyan@xxxxx> wrote:
> FWIW, I fed full gcc tree to sparse not only testsuite. Suprisingly it
> crashed only in two places:
> void q19_func (long i)
> {
>   switch (i) {
>     LIM5 (case 1)
>       break;
>   }
> }

Attachment: label-parsing-1
Description: Binary data


[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux