rust/compiler/rustc_serialize/src
Tyson Nottingham f15fae822e rustc_serialize: fix incorrect signed LEB128 decoding
The signed LEB128 decoding function used a hardcoded constant of 64
instead of the number of bits in the type of integer being decoded,
which resulted in incorrect results for some inputs. Fix this, make the
decoding more consistent with the unsigned version, and increase the
LEB128 encoding and decoding test coverage.
2021-01-11 12:13:26 -08:00
..
json mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
collection_impls.rs rustc_serialize: specialize opaque decoding of some u8 sequences 2021-01-01 22:49:16 -08:00
json.rs Fix some clippy lints 2020-12-03 17:08:19 -05:00
leb128.rs rustc_serialize: fix incorrect signed LEB128 decoding 2021-01-11 12:13:26 -08:00
lib.rs rustc_serialize: fix incorrect signed LEB128 decoding 2021-01-11 12:13:26 -08:00
opaque.rs rustc_serialize: fix incorrect signed LEB128 decoding 2021-01-11 12:13:26 -08:00
serialize.rs rustc_serialize: specialize opaque decoding of some u8 sequences 2021-01-01 22:49:16 -08:00