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
iucode-tool iucode-tool: fix host-compile on macos and non-x86 linux 2022-02-26 19:52:41 +01:00
mtd
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
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
uci uci: update to git HEAD 2021-10-22 23:51:51 +02:00
urandom-seed
urngd
usign
zram-swap