255d42d5b6
Fixes a potential memory overrun detected by Coverity. This overrun cannot currently happen in practice because rte_metrics_reg_names() explicitly forces the last name character to be a NULL terminator. This patches uses strlcpy instead of strncpy to copy name strings. Coverity issue: 143434 Fixes: |
||
---|---|---|
.. | ||
Makefile | ||
meson.build | ||
rte_metrics_version.map | ||
rte_metrics.c | ||
rte_metrics.h |