summaryrefslogtreecommitdiff
path: root/api_test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-06-29 10:01:34 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-06-29 10:03:55 +0200
commitf8737b1c82981624b3263224dbf92fa6627f7205 (patch)
tree56cbf6eb574aaf2230e560c950a13a8339bc9f27 /api_test
parent09d96cd0b6f352227f741c4fc9b0d82cbefcc012 (diff)
latex writer: fix memory overflow.
We got an array overflow in enumerated lists nested more than 10 deep with start number =/= 1. Found by google/oss-fuzz. https://oss-fuzz.com/v2/testcase-detail/5546760854306816 This commit also ensures that we don't try to set `enum_` counters that aren't defined by LaTeX (generally up to enumv). Closes #210.
Diffstat (limited to 'api_test')
0 files changed, 0 insertions, 0 deletions