Java agent: Use inequality for read bound check
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 22 Apr 2020 18:14:36 +0000 (14:14 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 22 Apr 2020 18:15:20 +0000 (14:15 -0400)
commit0b7be275cc204aecb1f21884e33d7a1e4fa9023b
tree51a20ca49285853946ef540a1dd85da6a70e062b
parent32974710aab75d01a8ae48d0be3641c2f56e45a9
Java agent: Use inequality for read bound check

Don't continue looping if bytesLeft becomes negative for unforeseen
reasons.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/client/LttngTcpSessiondClient.java
This page took 0.024507 seconds and 4 git commands to generate.