Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-08-10 | Skip sourcepos tracking if disabled | Yuki Izumi | |
2017-08-10 | Fix inlines spanning newlines, text in non-para | Yuki Izumi | |
2017-08-09 | --smart: open quote can never occur right after `]` or `)`. | John MacFarlane | |
Closes #227. | |||
2017-08-09 | Add sourcepos info for inlines | Yuki Izumi | |
2017-08-03 | Merge pull request #224 from pclouds/make-format-source-code | John MacFarlane | |
`make format` the source code | |||
2017-08-03 | Reformat source code with 'make format' | Nguyễn Thái Ngọc Duy | |
2017-08-03 | Update README.md, replace 'make astyle' with 'make format' | Nguyễn Thái Ngọc Duy | |
The former has been replaced by the latter since 62cb38b (Use clang-format, llvm style, for formatting. - 2015-07-27) dòng được | |||
2017-08-02 | Merge pull request #222 from PavloKapyshin/master | John MacFarlane | |
Fix typo | |||
2017-08-02 | Fix typo | Pavlo Kapyshin | |
2017-08-01 | Update spec. | John MacFarlane | |
2017-08-01 | Update changelog. | John MacFarlane | |
2017-08-01 | Merge branch 'master' of github.com:jgm/cmark | John MacFarlane | |
2017-08-01 | Merge pull request #221 from pclouds/document-validate-utf8 | John MacFarlane | |
Advertise --validate-utf8 in usage information | |||
2017-08-01 | Update changelog. | John MacFarlane | |
2017-08-01 | Bump version to 0.28.0. | John MacFarlane | |
2017-08-01 | Update spec. | John MacFarlane | |
2017-08-01 | Advertise --validate-utf8 in usage information | Nguyễn Thái Ngọc Duy | |
This option was added in 04726a7 (Added `CMARK_OPT_VALIDATE_UTF8` option. - 2015-06-16) but not "documented". | |||
2017-07-25 | Merge pull request #219 from github/upstream/left-angle-link | John MacFarlane | |
Fix URL scanner | |||
2017-07-17 | Fix URL scanner. | Yuki Izumi | |
2017-07-13 | Reverted mistaken fix to #193. | John MacFarlane | |
Commit 14ea489f5dd6e3d07e23f104d6c9ce441d05751b | |||
2017-07-12 | > 32 nested balanced parens in a link is bananas | Yuki Izumi | |
2017-07-11 | Merge pull request #213 from github/upstream/undefined-shift | John MacFarlane | |
Use unsigned integer when shifting | |||
2017-07-11 | Merge pull request #212 from github/upstream/memcpy-nonnull | John MacFarlane | |
Avoid memcpy'ing NULL pointers | |||
2017-07-11 | Use unsigned integer when shifting | Phil Turnbull | |
A UBSAN warning can be triggered when handling a long sequence of backticks: src/commonmark.c:98:20: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' which can be triggered by: ``` | a | b | | --- | --** `c```````````````````````````````- | | c | `|d` \| e | ``` | |||
2017-07-06 | Avoid memcpy'ing NULL pointers | Phil Turnbull | |
A UBSAN warning can be triggered because the link title is an empty string: src/inlines.c:113:20: runtime error: null pointer passed as argument 2, which is declared to never be null which can be triggered by: ``` [f]:_ [f] ``` The length of the memcpy is zero so the NULL pointer is not dereferenced but it is still undefined behaviour. | |||
2017-06-29 | Updated spec.txt. | John MacFarlane | |
2017-06-29 | DeMorgan simplification of some tests in emphasis parser. | John MacFarlane | |
This also brings the code into closer alignment with the wording of the spec. See jgm/CommonMark#467. | |||
2017-06-29 | Fixed undefined shift in commonmark writer. | John MacFarlane | |
Closes #211. Found by google/oss-fuzz: https://oss-fuzz.com/v2/testcase-detail/4686992824598528 | |||
2017-06-29 | latex writer: fix memory overflow. | John MacFarlane | |
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. | |||
2017-06-29 | Makefile: add libFuzzer to phony | John MacFarlane | |
2017-06-27 | Merge pull request #209 from philipturnbull/libFuzzer | John MacFarlane | |
Add libFuzzer harness for oss-fuzz | |||
2017-06-27 | Check for NULL pointer in get_link_type | Phil Turnbull | |
echo '[](xx:)' | ./build/src/cmark -t latex Segmentation fault: 11 | |||
2017-06-27 | Add Makefile target and harness to fuzz with libFuzzer | Phil Turnbull | |
This can be run locally with `make libFuzzer` but the harness will be integrated into oss-fuzz for large-scale fuzzing. | |||
2017-06-27 | Move fuzzing dictionary into single file | Phil Turnbull | |
This allows AFL and libFuzzer to use the same dictionary | |||
2017-06-23 | Add hyphen to dictionary | Phil Turnbull | |
2017-06-23 | Merge pull request #207 from github/upstream/oob-read | John MacFarlane | |
Reset bytes after (possible) UTF8 proc | |||
2017-06-23 | Reset bytes after UTF8 proc | Yuki Izumi | |
See https://github.com/jgm/cmark/issues/206. | |||
2017-06-21 | Merge pull request #205 from github/dont-scan-past-eol | John MacFarlane | |
Don't scan past an EOL. The existing negated character classes ([^…]) are careful to always include \x00 in the characters excluded, but these . catch-alls can scan right past the terminating NUL placed at the end of the buffer by _scan_at. As such, buffer overruns can occur. Also, don't scan past a newline in HTML block end scanners. | |||
2017-06-21 | Don't scan past newline either | Yuki Izumi | |
2017-06-21 | Don't scan past an EOL | Yuki Izumi | |
2017-06-02 | Merge pull request #195 from github/revert-194-upstream/remove-normalize | John MacFarlane | |
Revert "Remove normalize as an option per #190" | |||
2017-06-02 | Document cases where get_ functions return NULL. | John MacFarlane | |
E.g. cmark_node_get_url on a non-link or image. Closes #155. | |||
2017-06-02 | Properly handle backslashes in link destinations. | John MacFarlane | |
Only ascii punctuation characters are escapable, per the spec. Closes #192. | |||
2017-06-02 | Fixed bug with unescaped left angle bracket in link destination. | John MacFarlane | |
Closes #193. | |||
2017-06-02 | Fixed cmark_node_get_list_start to return 0 for bullet lists... | John MacFarlane | |
as documented! Closes #202. | |||
2017-05-30 | Use CMARK_NO_DELIM for bullet lists. Closes #201. | John MacFarlane | |
2017-05-18 | Merge pull request #198 from PavloKapyshin/master | John MacFarlane | |
Improve readme a bit | |||
2017-05-16 | Add link to Python wrapper | Pavlo Kapyshin | |
2017-05-16 | Prettify languages list | Pavlo Kapyshin | |
2017-05-15 | README: Add link to cmark-scala (#196) | Tim Nieradzik | |