openwrt/package/system
Petr Štetiar 34ddd2e545 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>
2022-08-25 06:59:41 +02:00
..
ca-certificates ca-certificates: fix python3-cryptography woes in certdata2pem.py 2021-12-01 17:52:35 +01:00
fstools fstools: update to git HEAD 2022-08-13 22:53:39 +02:00
fwtool fwtool: update to latest Git head 2019-11-14 22:53:31 +01:00
gpio-cdev/nu801 nu801: fix DEPENDS on bcm53xx 2022-07-17 13:43:48 +02: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: add OpenWrt 22.03 GPG/usign keys 2022-03-25 14:28:00 +01:00
opkg opkg: update to 2022-02-24 2022-06-27 00:57:15 +02:00
procd procd: update to git HEAD 2022-07-17 13:21:45 +02: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 06:59:41 +02:00
selinux-policy selinux-policy: update to version 1.2.3 2022-05-21 22:27:01 +01:00
ubox ubox: update to latest git HEAD 2022-08-13 20:53:10 +02:00
ubus ubus: update to git HEAD 2022-06-01 22:31:01 +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 urandom-seed: go back to seeding with shell script temporarily 2022-04-14 10:12:34 +02: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