summaryrefslogtreecommitdiff
path: root/bench/stats.py
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-02-19 09:16:49 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-02-19 09:19:44 -0800
commitaad831e87c92530fe54b7dcdda593c53ccc3f0b6 (patch)
tree26117c2904668ce2e8445f5cd40795bfb73095c5 /bench/stats.py
parent17e4a8203dc24ecee990ba3e8880092a1864e12e (diff)
Fixed use-after-free bug.
This arose when a paragraph containing only reference links and blank space was finalized. Finalization would remove the node. `finalize` returns the parent node, but the problem arose because we had both `cur` and `parser->current`, and only one was being updated. Solution: remove `cur`, which is a holdover from before we had `parser->current`. I believe this will close #9 -- @JordanMilne can you test and confirm?
Diffstat (limited to 'bench/stats.py')
0 files changed, 0 insertions, 0 deletions