Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#195·JCSprout

A potential NPE bug

Author: JulyChen728Created Apr 14, 2020Updated Apr 14, 2020
Labelsbug

Hi all, our bug scanner has reported a NPE bug.

A possible call chain may be getNode() => LRUMap.java#L65 => LRUMap.java#L68. Since the method getNode() may return null at LRUMap.java#L118, a NPE bug may take place at LRUMap.java#L76 when the variable node is null.

Thanks.

Source: crossoverJie/JCSprout

View original on GitHubView discussion on GitHub