Skip to content

Commit 5b0d79e

Browse files
committed
Fix bugs A, B, C, D, E, F [merging from test repo]
A: file_read rejects non-number/negative size before the size_t cast (was: std::length_error escaping as Fatal Error). B: json_stringify tracks visited lists/dicts, errors on cycles (was: stack overflow segfault). C: json_parse parse_val takes a depth param, caps at 1000 (was: stack overflow segfault on deep input). D: std_db_query_rows bind loop uses a separate bind counter (was: explicit db handle shifted all later params, silent null). E: Chunk::deserialize / ObjFunction::deserialize take a depth param, cap at 1000 (was: stack overflow segfault on nested .shbc). F: OP_CLOSURE checks upvalue index against the frame stack window (is_local) or the enclosing closure's upvalue count (was: OOB read / wild capture segfault).
1 parent 31c4450 commit 5b0d79e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Build artifacts
22
build/
33
build_cpp/
4+
build_asan/
45
package/
56
dist/
67
bin/

0 commit comments

Comments
 (0)