From 1c0f4550bed81773ad34d190508bd49616264a38 Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Mon, 23 Feb 2015 16:43:51 +0100 Subject: [PATCH] Properly HTML Escape function names --- src/gui/widgets/BasicBlockWidget.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/widgets/BasicBlockWidget.cxx b/src/gui/widgets/BasicBlockWidget.cxx index f66a575..1f34255 100644 --- a/src/gui/widgets/BasicBlockWidget.cxx +++ b/src/gui/widgets/BasicBlockWidget.cxx @@ -144,7 +144,7 @@ void BasicBlockWidget::addItem(uint8_t* bytes, size_t num_bytes, Function* fun = block->getManager()->getFunction(address); if (fun) { - line = line.split(" ")[0] + " " + fun->getName().c_str(); + line = line.split(" ")[0] + " " + QString(fun->getName().c_str()).toHtmlEscaped(); LOG4CXX_DEBUG(logger, "Naming function at " << address << " " << fun->getName()); } } -- 2.39.5