mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:17:35 +00:00
AK: Fix inverted condition in unsigned LEB128 decode
This commit is contained in:
parent
1993ccb456
commit
cfc5d146d3
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ public:
|
|||
|
||||
const u8 byte = m_bytes[m_offset++];
|
||||
result |= (byte & 0x7f) << shift;
|
||||
if (byte & 0x80)
|
||||
if ((byte & 0x80) == 0)
|
||||
break;
|
||||
shift += 7;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue