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)
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>

No differences found
This page took 0.03104 seconds and 4 git commands to generate.