[ctf] Fix coding style issues in BitBuffer.
authorEtienne Bergeron <etienne.bergeron@gmail.com>
Fri, 22 Nov 2013 05:11:19 +0000 (00:11 -0500)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Tue, 26 Nov 2013 16:06:17 +0000 (11:06 -0500)
commit74e4b6b929ea0ee13f0b76e4947beb4a40bc8efd
tree08442f9ee137e217e41002ccfcfe668758d0a44a
parentd68f46c20bf072ec253989224760a40aa0bcfa9b
[ctf] Fix coding style issues in BitBuffer.

Fix potential issue with an undefined behavior in CTF.
 - Reading a integer of zero bit at the end of the buffer may be valid.
 - Change the behavior to accept it.

Change-Id: I22fccc4e2ffee3bbf796e52b516b00f7fc5e31ac
Signed-off-by: Etienne Bergeron <etienne.bergeron@gmail.com>
Reviewed-on: https://git.eclipse.org/r/18707
Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
org.eclipse.linuxtools.ctf.core.tests/src/org/eclipse/linuxtools/ctf/core/tests/io/BitBufferIntTest.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/io/BitBuffer.java
This page took 0.025065 seconds and 5 git commands to generate.