commit 8d56269d9c9f2a5914aeb8f37f5877eb05000906
parent 434cbaabf092ec1688b4dfd2d93f38e849531d96
Author: Drew DeVault <sir@cmpwn.com>
Date: Wed, 17 Oct 2018 15:55:49 +0200
Merge pull request #2862 from SpeedJack/fix-stringop-overflow
Fix overflow in strcpy
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/pango.c b/common/pango.c
@@ -10,7 +10,7 @@
#include "log.h"
#include "stringop.h"
-static const char *overflow = "[buffer overflow]";
+static const char overflow[] = "[buffer overflow]";
static const int max_chars = 16384;
size_t escape_markup_text(const char *src, char *dest) {