|WARNING| pw159217 [PATCH v5 06/17] telemetry: avoid possible string overflow

checkpatch at dpdk.org checkpatch at dpdk.org
Sun Dec 7 20:17:18 CET 2025


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/159217

_coding style issues_


WARNING:STRNCPY: Prefer strscpy, strscpy_pad, or __nonstring over strncpy - see: https://github.com/KSPP/linux/issues/90
#150: FILE: lib/telemetry/telemetry_legacy.c:113:
+	strncpy(addrs.sun_path, colon + 1, len);

total: 0 errors, 1 warnings, 56 lines checked
Warning in lib/telemetry/telemetry_legacy.c:
Writing to stdout or stderr


More information about the test-report mailing list