diff options
Diffstat (limited to 'testing/polybar/fix-wstringop-truncation.patch')
-rw-r--r-- | testing/polybar/fix-wstringop-truncation.patch | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/testing/polybar/fix-wstringop-truncation.patch b/testing/polybar/fix-wstringop-truncation.patch deleted file mode 100644 index cdf1eac808..0000000000 --- a/testing/polybar/fix-wstringop-truncation.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/lib/i3ipcpp/src/ipc-util.cpp -+++ b/lib/i3ipcpp/src/ipc-util.cpp -@@ -34,7 +34,7 @@ - data = new uint8_t[size]; - header = (header_t*)data; - payload = (char*)(data + sizeof(header_t)); -- strncpy(header->magic, g_i3_ipc_magic.c_str(), sizeof(header->magic)); -+ memcpy(header->magic, g_i3_ipc_magic.c_str(), sizeof(header->magic)); - header->size = payload_size; - header->type = 0x0; - } |