mirror of
https://github.com/swaywm/sway.git
synced 2024-11-13 14:04:11 +01:00
Merge pull request #2862 from SpeedJack/fix-stringop-overflow
Fix overflow in strcpy
This commit is contained in:
commit
8d56269d9c
@ -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…
Reference in New Issue
Block a user