Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/usr.sbin/altq/altqstat
Module Name: src
Committed By: fox
Date: Fri Feb 7 20:13:26 UTC 2020
Modified Files:
src/usr.sbin/altq/altqstat: quip_client.c
Log Message:
usr.sbin/altq: Fix -Wstringop-truncation warning.
Looks like the original intention was to truncate the string at len.
Replace strncpy(3) with strlcpy(3).
Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.
Reviewed by: kamil@
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/altq/altqstat/quip_client.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index