Commit e0b8b94
committed
Fix invalid utf8 slicing in EscapeQuotedString
This could previously panick with multi-byte utf8 characters:
datafusion-sqlparser-rs-896df239ce2264c8/847ddf3/src/ast/value.rs:583:53:
end byte index 271 is not a char boundary; it is inside '�' (bytes 270..273 of string)1 parent 735469a commit e0b8b94
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
580 | | - | |
| 580 | + | |
| 581 | + | |
581 | 582 | | |
582 | 583 | | |
583 | 584 | | |
| |||
0 commit comments