Openwrt/tools
Petr Štetiar 61b36ee9ba firmware-utils: mkfwimage: fix memcpy and strncpy usage
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: 04cb651376 ("firmware-utils: mkfwimage: fix more errors reported by gcc-6/7/9")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-07-11 13:33:28 +02:00
..
autoconf
autoconf-archive tools: add autoconf-archive 2020-05-20 15:37:16 +02:00
automake
b43-tools
bc
bison
cbootimage
cbootimage-configs
ccache ccache: update to 3.7.9 2020-05-28 21:22:18 +02:00
cmake
coreutils
dosfstools
e2fsprogs
elftosb
expat
findutils
firmware-utils firmware-utils: mkfwimage: fix memcpy and strncpy usage 2020-07-11 13:33:28 +02:00
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 squashfs: Fix compile with GCC 10 2020-05-24 14:38:40 +02:00
squashfskit4
sstrip
tar
upslug2
wrt350nv2-builder
xz
zip
zlib
zstd tools: add zstd 2020-05-31 11:03:30 +02:00
Makefile tools: add zstd 2020-05-31 11:03:30 +02:00