projects
/
deliverable
/
tracecompass.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ctf: Fix out of bounds positioning of the bitbuffer
[deliverable/tracecompass.git]
/
org.eclipse.linuxtools.ctf.core
/
src
/
org
/
eclipse
/
linuxtools
/
ctf
/
core
/
event
/
types
/
Definition.java
diff --git
a/org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/Definition.java
b/org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/Definition.java
index 8ecbe436c2284df14bf506bf85c2bb3f4ad65c0d..c8a3bc8828bb1fa679c78e15a832ced5ec6538a4 100644
(file)
--- a/
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/Definition.java
+++ b/
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/Definition.java
@@
-138,9
+138,11
@@
public abstract class Definition {
* The bitbuffer that is being read
* @param declaration
* The declaration which has an alignment
* The bitbuffer that is being read
* @param declaration
* The declaration which has an alignment
+ * @throws CTFReaderException
+ * Happens when there is an out of bounds exception
* @since 2.2
*/
* @since 2.2
*/
- protected static void alignRead(BitBuffer input, IDeclaration declaration){
+ protected static void alignRead(BitBuffer input, IDeclaration declaration)
throws CTFReaderException
{
long mask = declaration.getAlignment() -1;
/*
* The alignment is a power of 2
long mask = declaration.getAlignment() -1;
/*
* The alignment is a power of 2
This page took
0.026203 seconds
and
5
git commands to generate.