mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-29 18:12:14 +00:00
61b36ee9ba
Firmware is binary blob, so there are barely any NULL terminated strings
expected, so we should probably convert all chars into u8 types, and
after that it's clear, that using strcpy doesn't make sense anymore.
This is rather theoretical stuff, but `uint8_t name[PART_NAME_LENGTH]`
means, that you can supply PART_NAME_LENGTH sized name, not
PART_NAME_LENGTH-1 name when NULL terminated.
Ref: https://github.com/openwrt/openwrt/pull/2274
Fixes:
|
||
---|---|---|
.. | ||
autoconf | ||
autoconf-archive | ||
automake | ||
b43-tools | ||
bc | ||
bison | ||
cbootimage | ||
cbootimage-configs | ||
ccache | ||
cmake | ||
coreutils | ||
dosfstools | ||
e2fsprogs | ||
elftosb | ||
expat | ||
findutils | ||
firmware-utils | ||
flex | ||
flock | ||
genext2fs | ||
gengetopt | ||
gmp | ||
include | ||
isl | ||
kernel2minor | ||
libelf | ||
libressl | ||
libtool | ||
lzma | ||
lzma-old | ||
m4 | ||
make-ext4fs | ||
missing-macros | ||
mkimage | ||
mklibs | ||
mm-macros | ||
mpc | ||
mpfr | ||
mtd-utils | ||
mtools | ||
padjffs2 | ||
patch | ||
patch-image | ||
patchelf | ||
pkgconf | ||
qemu | ||
quilt | ||
sdimage | ||
sed | ||
sparse | ||
squashfs | ||
squashfskit4 | ||
sstrip | ||
tar | ||
upslug2 | ||
wrt350nv2-builder | ||
xz | ||
zip | ||
zlib | ||
zstd | ||
Makefile |