difos/package
Daniel Kestrel 12564c5b86 fritz-tools: fix returning wrong values due to strncmp usage
When having two keys that start with the same characters and the second
key just has one character more nand_tffs_read and tffs_read return the
wrong value for the longer key. This is due to the usage of strncmp in
combination with the length of the shorter key which is usually first in
the list before the longer key and when strncmp matches, the search is
stopped. The problem only occurs when the length of the two keys is
different, not if just the last character is different. The fix is to
use strcmp and as such it will only return the value if the key (name)
and the key to look for (namefilter) have the same value and length. A
sample case returning wrong values is when keys macwlan and macwlan2 are
defined and querying macwlan2 returns the value for macwlan.

Signed-off-by: Daniel Kestrel <kestrel1974@t-online.de>
2021-08-08 19:50:46 +02:00
..
base-files base-files: add generic sdcard upgrade method 2021-08-07 01:34:40 +03:00
boot arm-trusted-firmware-mvebu: switch to CZ.NIC's Secure Firmware 2021-07-25 13:52:39 +02:00
devel binutils: update to 2.35.2 2021-05-23 15:11:38 +02:00
firmware linux-firmware: add 2G and 5G precal binaries for QCA99X0 2021-07-25 13:52:38 +02:00
kernel kernel: kmod-xfrm-interface requires IPv6 2021-08-06 00:21:08 +03:00
libs elfutils: fix building with GCC 11 2021-07-25 13:52:38 +02:00
network iproute2: bump to 5.13 2021-08-08 19:50:46 +02:00
system procd: change procd_add_start_mount_trigger to do restart 2021-08-08 15:26:28 +01:00
utils fritz-tools: fix returning wrong values due to strncmp usage 2021-08-08 19:50:46 +02:00
Makefile build: fix opkg install step for large package selection 2021-05-12 11:13:53 +02:00