1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fix bug 155400.

This commit is contained in:
Ken Ryall 2006-11-28 07:49:30 +00:00
parent c557bb21a6
commit c2bb9c4cef

View file

@ -219,7 +219,7 @@ public class DwarfReader extends Dwarf implements ISymbolReader {
m_leb128Size = 0;
while (true) {
b = (short) data[offset++];
if (b == -1)
if (data.length == offset)
break; //throw new IOException("no more data");
m_leb128Size++;
result |= ((long) (b & 0x7f) << shift);