summaryrefslogtreecommitdiff
path: root/wrappers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-02-19 22:55:02 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-02-19 22:55:02 -0800
commit5af9f2717274efe5e2aebfe6a8154d700ec7e471 (patch)
treedf460ee82d454c76ba815da123308e8d0dfb8778 /wrappers
parent0fdb06f275aeb67331fd0984d89227ecadeeb26e (diff)
Fixed use-after-free error.
Closes #9, confirmed with ASAN. Avoid using `parser->current` in the loop that creates new blocks, since `finalize` in `add_child` may have removed the current parser (if it contains only reference definitions). This isn't a great solution; in the long run we need to rewrite to make the logic clearer and to make it harder to make mistakes like this one.
Diffstat (limited to 'wrappers')
0 files changed, 0 insertions, 0 deletions