diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2018-12-06 23:39:09 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2018-12-08 09:22:56 +0100 |
commit | 8361c53eac06a8a96fd029e31ca7119e218e1e3e (patch) | |
tree | 737276654e6908f692073af47fb87f6f138910f6 /package/python-pymodbus | |
parent | 84aeb4419f394b2eb11a22a962bc20e05b311b5f (diff) | |
download | buildroot-8361c53eac06a8a96fd029e31ca7119e218e1e3e.tar.gz buildroot-8361c53eac06a8a96fd029e31ca7119e218e1e3e.zip |
liboping: fix format-truncation error
liboping.c: In function 'ping_host_add':
liboping.c:207:9: error: '%s' directive output may be truncated writing
up to 255 bytes into a region of size 243 [-Werror=format-truncation=]
"%s: %s", function, message);
^~
liboping.c:1644:40:
ping_set_error (obj, "getaddrinfo", errmsg);
~~~~~~
liboping.c:206:2: note: 'snprintf' output between 14 and 269 bytes into
a destination of size 256
snprintf (obj->errmsg, sizeof (obj->errmsg),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"%s: %s", function, message);
Fixes:
- http://autobuild.buildroot.org/results/b12d86388b495a96194e0bcbb5c19a4e35cbc53d
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python-pymodbus')
0 files changed, 0 insertions, 0 deletions