[oe] [meta-networking][PATCH 5/5] ippool: Fix strncpy -Wformat-truncation warning

Adrian Bunk bunk at stusta.de
Fri Dec 27 05:26:53 UTC 2019


On Thu, Dec 26, 2019 at 07:56:39PM -0800, Khem Raj wrote:
>...
> +| ippool_config.c:112:2: note: 'snprintf' output between 8 and 55 bytes into a destination of size 48
> +|   112 |  snprintf(prompt, sizeof(prompt), "ippool-%s", server_name);
> +|       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> +
> +Upstream-Status: Pending
> +Signed-off-by: Khem Raj <raj.khem at gmail.com>
> +--- a/cli/cli_readline.c
> ++++ b/cli/cli_readline.c
>...

Is this a paste of the wrong warning?
The patch is in a different file in code that looks unrelated.

cu
Adrian


More information about the Openembedded-devel mailing list