|WARNING| pw159407 [PATCH v6 05/18] telemetry: avoid possible string overflow
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Dec 23 19:13:42 CET 2025
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/159407
_coding style issues_
WARNING:STRNCPY: Prefer strscpy, strscpy_pad, or __nonstring over strncpy - see: https://github.com/KSPP/linux/issues/90
#149: 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