Static Analysis Problem Type Reference

Infinite loop

A loop with no possible exit condition was found.

This may be intentional or it could be a coding error.

ID

Code Location

Description

1

Infinite loop

The location of the infinite loop

Example

          
extern char * GetNextLine();
extern void ProcessNextLine(char *);

int main(int argc, char **argv)
{
    while (1) {
        ProcessNextLine( GetNextLine() );
    }
    return 0;
}