diff options
| -rw-r--r-- | passt-repair.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/passt-repair.c b/passt-repair.c index 80a3908..3958c3a 100644 --- a/passt-repair.c +++ b/passt-repair.c @@ -95,6 +95,7 @@ static int wait_for_socket(struct sockaddr_un *a, const char *dir, continue; } + /* cppcheck-suppress [negativeIndex, unmatchedSuppression] */ buf[n - 1] = '\0'; for (p = buf; p < buf + n; p += sizeof(*ev) + ev->len) { ev = (const struct inotify_event *)p; |
