X Tutup
The Wayback Machine - https://web.archive.org/web/20250502163130/https://github.com/github/codeql/issues/3941
Skip to content

LGTM.com - false positive for super.printStackTrace() #3941

Closed
@agoncharuk

Description

@agoncharuk

super.printStackTrace() in an overridden method is treated as an information exposure

When an exception logic is extended to include additional information, we override Exception#printStackTrace(...) methods to amend their output and calling super.printStackTrace(). This call is treated as an information exposure, even though it does not actually initiate stacktrace output.

URL to the alert on the project page on LGTM.com
https://lgtm.com/projects/g/gridgain/gridgain/snapshot/08ae5858eba2e92a2931e6d2a58470b7ac226d7c/files/modules/h2/src/main/java/org/h2/jdbc/JdbcSQLTimeoutException.java?sort=name&dir=ASC&mode=heatmap#xc131fbdd935d6c31:1

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    X Tutup