openwrt/package
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
..
base-files base-files: add mtd_get_mac_encrypted_arcadyan function 2022-08-19 14:44:35 +02:00
boot ramips: add support for MTS WG430223 2022-08-16 15:58:50 +02:00
devel strace: Update to version 5.16 2022-02-01 21:25:02 +01:00
firmware layerscape: update PKG_HASH / PKG_MIRROR_HASH 2022-07-23 00:11:21 +02:00
kernel mac80211: parse the correct set of HE capabilities for AP mode 2022-08-21 15:54:22 +02:00
libs zlib: backport null dereference fix 2022-08-09 08:12:46 +02:00
network uhttpd: update to latest Git HEAD 2022-08-25 10:32:34 +02:00
system rpcd: bump version to 2022-08-24 2022-08-25 11:05:20 +02:00
utils ucode: update to latest Git HEAD 2022-08-25 10:31:56 +02:00
Makefile build: fix opkg install step for large package selection 2021-05-12 11:13:53 +02:00