Kaydet (Commit) 10db9232 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1326117 Unchecked return value

Change-Id: I448f59fd43d90d3ad42ba55dbadee0664984e53a
üst d6a3c578
......@@ -97,7 +97,10 @@ public final class PdbDecoder {
//dis.seek(recOffset[i]);
dis.reset();
dis.skip(recOffset[i]);
int nBytesToSkip = recOffset[i];
while (nBytesToSkip > 0) {
nBytesToSkip -= dis.skip(nBytesToSkip);
}
int len = recOffset[i+1] - recOffset[i];
byte[] bytes = new byte[len];
dis.readFully(bytes);
......@@ -122,4 +125,4 @@ public final class PdbDecoder {
return pdb;
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment