Skip to content

Commit

Permalink
Fix one more detected by fuzzing
Browse files Browse the repository at this point in the history
  • Loading branch information
prozacchiwawa committed Apr 17, 2024
1 parent dd700b4 commit 995715a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion resources/tests/test_binutils_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"((0x33 . i))",
"(g . (138935604050210 ()))",
"0x0001",
"0x00"
"0x00",
"0x5c4859"
]

def extend_atom():
Expand Down
2 changes: 1 addition & 1 deletion src/classic/clvm/__type_compatibility__.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub fn pybytes_repr(r: &[u8], dquoted: bool) -> String {

for b in r.iter() {
let c = *b as char;
if c == quote || c == '\\' {
if c == quote {
s = (s + "\\") + char_to_string(c).as_str();
} else if c == '\t' {
s += "\\t";
Expand Down

0 comments on commit 995715a

Please sign in to comment.