diff options
author | Daniel Bertalan <dani@danielbertalan.dev> | 2021-07-27 09:42:57 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-08 10:55:36 +0200 |
commit | efd1aea969f9580493b41e52dc5f2b1e2d24646d (patch) | |
tree | 6324b43e0cbef8892aace2af8607182379557d05 /Ports/bass/package.sh | |
parent | a59b9357e38bb81478dd2fc71ec2c44882492940 (diff) | |
download | serenity-efd1aea969f9580493b41e52dc5f2b1e2d24646d.zip |
AK: Make `InputMemoryStream::read_LEB128_*` templated
On i686, reading integers larger than `2^32 - 1` would fail as the
32-bit `size_t` parameter would overflow. This caused us to read too few
bytes in LibDebug's DWARF parser. Making this method templated solves
this issue, as we now can call this API with a `u64` parameter.
Diffstat (limited to 'Ports/bass/package.sh')
0 files changed, 0 insertions, 0 deletions