diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-08-17 22:44:00 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-08-18 00:00:59 +0200 |
| commit | 26d0fed1bc2201955ff0138f0ba9f7c5b23e15eb (patch) | |
| tree | 266c606ca4fe3b45a50ed864c044ee3054c43c52 /crates/xa65/src/main.rs | |
| parent | de6e989cd3634ee783d47f8ec2caac8d16c77436 (diff) | |
| download | tools.nes-26d0fed1bc2201955ff0138f0ba9f7c5b23e15eb.tar.gz tools.nes-26d0fed1bc2201955ff0138f0ba9f7c5b23e15eb.zip | |
Fix shift overflow on certain expressions
I got a report from libfuzz that some cryptic input could make the
assembler panic on shifts. It turns out that the check on whether the
operator was too big or not had to be explicitely casted to `usize` to
avoid signedness issues.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'crates/xa65/src/main.rs')
0 files changed, 0 insertions, 0 deletions
