setMarkdown in Qt prior to 5.14.2 has a use-after-free related to QTextMarkdownImporter::insertBlock.
qt qt 5.14.1