openwrt/package/system
Petr Štetiar 8a9733ee0d rpcd: bump version to 2022-08-24
gcc 10 with -O2 reports following:

 In function ‘strncpy’,
     inlined from ‘rpc_sys_packagelist’ at /opt/devel/openwrt/c-projects/rpcd/sys.c:244:4:
 /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 128 equals destination size [-Werror=stringop-truncation]
   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 In function ‘strncpy’,
     inlined from ‘rpc_sys_packagelist’ at /opt/devel/openwrt/c-projects/rpcd/sys.c:227:4:
 /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 128 equals destination size [-Werror=stringop-truncation]
   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Since it is not possible to avoid truncation by strncpy, it is necessary
to make sure the result of strncpy is properly NUL-terminated and the
NUL must be inserted explicitly, after strncpy has returned.

References: #10442
Reported-by: Alexey Smirnov <s.alexey@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit 34ddd2e545)
2022-08-25 11:05:20 +02:00
..
ca-certificates ca-certificates: fix python3-cryptography woes in certdata2pem.py 2021-12-01 17:52:35 +01:00
fstools fstools: add uci fstab section to conffiles for package block-mount 2022-08-12 22:46:51 +02:00
fwtool fwtool: update to latest Git head 2019-11-14 22:53:31 +01:00
iucode-tool iucode-tool: fix host-compile on macos and non-x86 linux 2022-02-26 19:52:41 +01:00
mtd mtd: fix imagetag compilation 2021-03-17 08:42:05 +01:00
openwrt-keyring openwrt-keyring: fix broken install step 2022-03-27 11:48:31 +02:00
opkg opkg: update to 2022-02-24 2022-07-17 15:15:11 +02:00
procd procd: update to git HEAD 2022-06-05 11:37:52 +01:00
refpolicy Revert "refpolicy: add variant that builds modular policy" 2020-11-22 15:20:35 +00:00
rpcd rpcd: bump version to 2022-08-24 2022-08-25 11:05:20 +02:00
selinux-policy selinux-policy: update to version 1.1 2022-05-03 20:32:48 +01:00
ubox ubox: fix broken deferred start of logfile writer 2022-01-31 15:03:25 +00:00
ubus ubus: update to git HEAD 2022-06-05 11:38:12 +01:00
ucert ucert: update to latest git HEAD 2020-05-24 17:01:36 +02:00
uci uci: update to git HEAD 2021-10-22 23:51:51 +02:00
urandom-seed treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00
urngd treewide: remove BUILD_PARALLEL from CMake packages 2021-06-19 20:44:59 -10:00
usign usign: update to latest git HEAD 2020-05-23 13:38:12 +02:00
zram-swap zram-swap: clean up the log messages 2021-06-27 14:49:14 -10:00