Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utils: fix format truncation warning
> conf.c: In function 'update_filter': > conf.c:211:31: warning: ':' directive output may be truncated writing 1 byte into a region of size between 0 and 1000 [-Wformat-truncation=] > snprintf(buf, BUFSIZE, "%s:%s", tmp, token); > ^ > conf.c:211:5: note: 'snprintf' output 2 or more bytes (assuming 1002) into a destination of size 1000 > snprintf(buf, BUFSIZE, "%s:%s", tmp, token); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Loading branch information