openwrt/package
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
..
base-files base-files: add mtd_get_mac_encrypted_arcadyan function 2022-08-19 14:41:14 +02:00
boot realtek: d-link: add support for dgs-1210-10mp 2022-08-20 09:02:44 +02:00
devel Revert "binutils: update to 2.39" 2022-08-14 23:40:45 +02:00
firmware kernel: kmod-net-rtl8192su: Remove package 2022-08-10 21:36:17 +02:00
kernel mac80211: parse the correct set of HE capabilities for AP mode 2022-08-20 12:33:50 +02:00
libs zlib: backport null dereference fix 2022-08-09 08:08:08 +02:00
network firewall4: update to latest Git HEAD 2022-08-24 23:25:11 +02:00
system rpcd: bump version to 2022-08-24 2022-08-25 06:59:41 +02:00
utils ucode: update to latest Git HEAD 2022-08-24 23:25:11 +02:00
Makefile build: fix opkg install step for large package selection 2021-05-12 11:13:53 +02:00