bug-cflow
[Top][All Lists]
Advanced

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

[Bug-cflow] another parser's bug (Infinite loop)


From: Shigio YAMAGUCHI
Subject: [Bug-cflow] another parser's bug (Infinite loop)
Date: Fri, 04 Nov 2005 07:56:32 +0900

Hello,
I might have found another bug.
The following code causes infinite loop.

        a(){}
        b(b,b)
        c(v,struct x *y, z);

Though this code seems to be improbable, it was drived
from FreeBSD kernel, and shortened.

[Reproduction method]

$ cflow --version
cflow (GNU cflow) 1.0
$ cflow test.h
(null):test.h:3: y/-1 redefined
(null):test.h:3: this is the place of previous definition
(null):test.h:3: y/-1 redefined
(null):test.h:3: this is the place of previous definition
(null):test.h:3: y/-1 redefined
(null):test.h:3: this is the place of previous definition
        .
        .
    (repearts)
        .
        .
(null):test.h:3: y/-1 redefined
(null):test.h:3: this is the place of previous definition
(null):^C
$ cat test.h
a(){}
b(b,b)
c(v,struct x *y, z);
$

Thank you for your quick response to my last report!
--
Shigio YAMAGUCHI <address@hidden> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]