Fix: Verify number of bytes contained in sessiond agent commands
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Thu, 19 May 2016 18:54:59 +0000 (14:54 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 19 May 2016 19:51:00 +0000 (15:51 -0400)
commit1e1110055efac3a1713fe0c7b5f36d5b98895d92
treed0ddae82b4c7529410cf689a02477b79069c2f28
parent2b218c9aeb9face9c713c51e7169539deb1b263d
Fix: Verify number of bytes contained in sessiond agent commands

The command header indicates the number of bytes in the payload.
Make sure those bytes were really present on the socket, and throw
an error if they were not.

Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
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.026256 seconds and 4 git commands to generate.