[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, up

From: Dirk Ziegelmeier
Subject: [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. STABLE-2_1_0_RELEASE-177-g30b2d07
Date: Tue, 20 Nov 2018 14:35:08 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lwIP - A Lightweight TCPIP stack".

The branch, master has been updated
       via  30b2d073622148d52a68486855cff7c7440f0b85 (commit)
      from  ee1bab341138457b31ed6f21dc710b43f58173d6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 30b2d073622148d52a68486855cff7c7440f0b85
Author: Dirk Ziegelmeier <address@hidden>
Date:   Tue Nov 20 20:34:29 2018 +0100

    Fix compile error with GCC 8 in makefsdata
    lwip/lwip/src/apps/http/makefsdata/makefsdata.c:929:56: error: 
‘snprintf’ output may be truncated before the last format character 
       snprintf(qualifiedName, sizeof(qualifiedName), "%s/%s", curSubdir, 
    /home/dziegel/lwip/lwip/src/apps/http/makefsdata/makefsdata.c:929:3: note: 
‘snprintf’ output 2 or more bytes (assuming 257) into a destination of size 
       snprintf(qualifiedName, sizeof(qualifiedName), "%s/%s", curSubdir, 
    Reduce subdir string length by 3 bytes to make the warning go away. The 
whole file path including directory AND filename is limited to MAX_PATH_LEN - 
so it is reasonable to reserve 3 bytes less for directory - the filename won't 
fit anyway in the remaining 3 bytes.


Summary of changes:
 src/apps/http/makefsdata/makefsdata.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

lwIP - A Lightweight TCPIP stack

reply via email to

[Prev in Thread] Current Thread [Next in Thread]