Skip to content

Infinite loop possible in FBPooledConnection.fireConnectionError #927

Description

@mrotteveel

The code in FBPooledConnection.fireConnectionError has an infinite loop if the initial exception (ex) has a next exception, and neither ex nor that next exception are fatal.

The problem is caused by:

currentException = ex.getNextException();

It should be:

currentException = currentException.getNextException();

See also https://groups.google.com/g/firebird-java/c/XLj_cze2SgY

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions