summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2023-02-07 19:19:03 +0800
committerGyorgy Sarvari <skandigraun@gmail.com>2025-09-19 15:51:19 +0200
commiteb8dfb2c714862bede3ad0cf6b282ee11a2aa08f (patch)
tree1358641f731d41bdffbc5fdf393e306e6303536f
parent8bd5100b42602805a9b1c8358d2b6e534327e6bb (diff)
downloadmeta-openembedded-eb8dfb2c714862bede3ad0cf6b282ee11a2aa08f.tar.gz
cmark: upgrade 0.30.2 -> 0.30.3
Changelog: =========== * Fix quadratic complexity bug with repeated '![[]()'. Resolves CVE-2023-22486. Add new pathological test. * Allow declarations with no space, as per spec * Set 'enumi*' counter correctly in LaTeX output * Allow '<!DOCTYPE' to be case-insensitive. existing spec.) * Fixed HTML comment scanning. Need to handle this case: '<!--> and -->'. Since the scanner finds the longest match, we had to move some of the logic outside of the scanner. * Fix quadratic parsing issue with repeated '<!--' (this was not introduced by the previous fix, and not in a released version of cmark). Resolves CVE-2023-22484. Add new pathological test. * Update HTML comment scanner to accord with commonmark/commonmark-spec#713 * Pathological tests: half the number of repetitions, and the timeout. This reduces the time needed for the pathological tests. * Shrink 'struct cmark_node' (#446). The 'internal_offset' member is only used for headings and can be moved to 'struct cmark_heading'. This reduces the size of 'struct cmark_node' from 112 to 104 bytes on 64-bit systems. * Add '-Wstrict-prototypes' and fix offending functions. * Fix quadratic behavior involving 'get_containing_block' (#431). Instead of searching for the containing block, update the tight list status when entering a child of a list item or exiting a list. * Fix 'pathological_tests.py' - Use a multiprocessing.Queue to actually get results from spawned tests processes. - Fix the 'allowed_failures' test. - Truncate actual output when printed. - Prepare for testing pathological behavior of the Commonmark renderer. * Fix source position bug with backticks Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 69aea3d8f7d84b4214948c0553fe1744f254bbf6) Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
-rw-r--r--meta-oe/recipes-support/cmark/cmark_0.30.3.bb (renamed from meta-oe/recipes-support/cmark/cmark_0.30.2.bb)2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/cmark/cmark_0.30.2.bb b/meta-oe/recipes-support/cmark/cmark_0.30.3.bb
index 6d6d3e5850..6697dfe07f 100644
--- a/meta-oe/recipes-support/cmark/cmark_0.30.2.bb
+++ b/meta-oe/recipes-support/cmark/cmark_0.30.3.bb
@@ -4,7 +4,7 @@ LICENSE = "BSD-2-Clause & MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=81f9cae6293cc0345a9144b78152ab62" 4LIC_FILES_CHKSUM = "file://COPYING;md5=81f9cae6293cc0345a9144b78152ab62"
5 5
6SRC_URI = "git://github.com/commonmark/cmark.git;branch=master;protocol=https" 6SRC_URI = "git://github.com/commonmark/cmark.git;branch=master;protocol=https"
7SRCREV = "a8da5a2f252b96eca60ae8bada1a9ba059a38401" 7SRCREV = "5ba25ff40eba44c811f79ab6a792baf945b8307c"
8S = "${WORKDIR}/git" 8S = "${WORKDIR}/git"
9 9
10inherit cmake lib_package 10inherit cmake lib_package