Closed olahaye74 closed 6 years ago
This is fixed in the master branch and will be part of the next release, see: https://github.com/naemon/naemon-core/pull/217
Sorry I did only check oipenned issues :-( any schedule for next release?
No problem, and many thanks for the report, always appreciated!
I think the next release will happen this or next week. I'll leave this open until the release is ready.
1.0.7 has been released now!
make[2]: Entering directory '/root/rpmbuild/BUILD/naemon-1.0.6/naemon-core' CC src/naemon/broker.lo CC src/naemon/checks.lo src/naemon/checks.c: In function 'process_check_result_queue': src/naemon/checks.c:243:38: error: 'builtin_snprintf_chk' output may be truncated before the last format character [-Werror=format-truncation=] snprintf(file, sizeof(file), "%s/%s", dirname, dirfile->d_name); ^ In file included from /usr/include/stdio.h:862:0, from src/naemon/checks.h:9, from src/naemon/checks.c:1: /usr/include/bits/stdio2.h:64:10: note: 'builtin_snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 return builtin___snprintf_chk (s, n, USE_FORTIFY_LEVEL - 1, ^
~~~~~~~~~~~~~~~ bos (s), fmt, va_arg_pack ());