You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
We are developing a new static analysis tool for catching bugs in Java code. Upon scanning your codebase we find the following:
In LinkedHashTreeMap.java (gson/src/main/java/com/google/gson/internal/LinkedHashTreeMap.java) rebalance function at line 338, we guess right can be a null since it is checked inint rightHeight = right != null ? right.height : 0; at line 343, If it is indeed the case, then Node<K, V> rightLeft = right.left; and Node<K, V> rightRight = right.right; may throw a NPE at line 347 and 348.
Would you please take a look and confirm this is indeed a bug? Thanks a million!!!
The text was updated successfully, but these errors were encountered:
Hi,
We are developing a new static analysis tool for catching bugs in Java code. Upon scanning your codebase we find the following:
In
LinkedHashTreeMap.java
(gson/src/main/java/com/google/gson/internal/LinkedHashTreeMap.java)rebalance
function at line 338, we guessright
can be a null since it is checked inint rightHeight = right != null ? right.height : 0;
at line 343, If it is indeed the case, thenNode<K, V> rightLeft = right.left;
andNode<K, V> rightRight = right.right;
may throw a NPE at line 347 and 348.Would you please take a look and confirm this is indeed a bug? Thanks a million!!!
The text was updated successfully, but these errors were encountered: