index
:
swaylock/.git
master
Unnamed repository; edit this file 'description' to name the repository.
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
comm.c
1
1 files changed, 1 insertions, 0 deletions
diff --git a/comm.c b/comm.c
index 5f4c078..16a4da9 100644
--- a/
comm.c
+++ b/
comm.c
@@ -72,6 +72,7 @@ ssize_t read_comm_request(char **buf_ptr) {
return -1;
}
+ assert(buf[size - 1] == '\0');
*buf_ptr = buf;
return size;
}