Merge pull request #2862 from SpeedJack/fix-stringop-overflow

Fix overflow in strcpy
master
Drew DeVault 6 years ago committed by GitHub
commit 8d56269d9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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) {

Loading…
Cancel
Save