> From: Stephen Hemminger [mailto:step...@networkplumber.org]
> Sent: Wednesday, 5 January 2022 19.02
>
> The size argument to eal_set_runtime_dir is useless and was
> being used incorrectly in strlcpy. It worked only because
> all callers passed PATH_MAX which is same as sizeof the destination
>
The size argument to eal_set_runtime_dir is useless and was
being used incorrectly in strlcpy. It worked only because
all callers passed PATH_MAX which is same as sizeof the destination
runtime_dir.
Signed-off-by: Stephen Hemminger
Suggested-by: Morten Brørup
---
lib/eal/common/eal_common_confi
2 matches
Mail list logo