diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-02-19 09:16:49 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-02-19 09:19:44 -0800 |
commit | aad831e87c92530fe54b7dcdda593c53ccc3f0b6 (patch) | |
tree | 26117c2904668ce2e8445f5cd40795bfb73095c5 /bench/stats.py | |
parent | 17e4a8203dc24ecee990ba3e8880092a1864e12e (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