Rakesh R created ZOOKEEPER-2731:
-----------------------------------
Summary: Cleanup findbug warnings in branch-3.4: Malicious code
vulnerability Warnings
Key: ZOOKEEPER-2731
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2731
Project: ZooKeeper
Issue Type: Sub-task
Affects Versions: 3.4.9
Reporter: Rakesh R
Please refer the attached sheet in parent jira. Below is the details of findbug
warnings.
{code}
AT Sequence of calls to java.util.concurrent.ConcurrentHashMap may not be
atomic in
org.apache.zookeeper.server.quorum.QuorumCnxManager.handleConnection(Socket,
DataInputStream)
AT Sequence of calls to java.util.concurrent.ConcurrentHashMap may not be
atomic in
org.apache.zookeeper.server.quorum.QuorumCnxManager.startConnection(Socket,
Long)
AT Sequence of calls to java.util.concurrent.ConcurrentHashMap may not be
atomic in org.apache.zookeeper.server.quorum.QuorumCnxManager.toSend(Long,
ByteBuffer)
VO Increment of volatile field
org.apache.zookeeper.server.quorum.AuthFastLeaderElection.logicalclock in
org.apache.zookeeper.server.quorum.AuthFastLeaderElection.leaveInstance()
VO Increment of volatile field
org.apache.zookeeper.server.quorum.AuthFastLeaderElection.logicalclock in
org.apache.zookeeper.server.quorum.AuthFastLeaderElection.lookForLeader()
VO Increment of volatile field
org.apache.zookeeper.server.quorum.FastLeaderElection.logicalclock in
org.apache.zookeeper.server.quorum.FastLeaderElection.lookForLeader()
VO Increment of volatile field
org.apache.zookeeper.server.quorum.QuorumPeer.tick in
org.apache.zookeeper.server.quorum.Leader.lead()
VO Increment of volatile field
org.apache.zookeeper.server.quorum.QuorumPeer.tick in
org.apache.zookeeper.server.quorum.Leader.lead()
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)