diff options
author | Daniel Friesel <derf@chaosdorf.de> | 2017-03-29 01:50:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-29 01:50:33 +0200 |
commit | a5e60401f9dce39f7f1bcf53ede508c63f5d2ad3 (patch) | |
tree | 62baf6cc521fba1ea04e0ac9cec40efafe3d8eee | |
parent | a0072d60705b9764970d435ec59dfc5c53158748 (diff) | |
parent | f7a547b7ef8fc8ebdeaa4c28515c9d72e592fb6d (diff) |
Merge pull request #286 from stoeckmann/ipc
Fix double-free/OOB-write while receiving IPC data
-rw-r--r-- | src/wallpaper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallpaper.c b/src/wallpaper.c index a11a50d..93994b3 100644 --- a/src/wallpaper.c +++ b/src/wallpaper.c @@ -795,7 +795,7 @@ char *enl_ipc_get(const char *msg_data) { static char *message = NULL; - static unsigned short len = 0; + static size_t len = 0; char buff[13], *ret_msg = NULL; register unsigned char i; unsigned char blen; |