immortalwrt/tools
Petr Štetiar 958e6c4ebf 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-12 11:57:40 +08:00
..
autoconf
autoconf-archive tools: add autoconf-archive 2020-05-23 19:20:29 +08:00
automake Merge Lean's source 2019-12-14 12:18:29 +08:00
b43-tools
bc
bison tools/bison: Update to 3.5.1 2020-02-23 15:28:43 +08:00
cbootimage squashfs-tools: fix build error (#2902) 2020-01-31 21:46:37 +08:00
cbootimage-configs squashfs-tools: fix build error (#2902) 2020-01-31 21:46:37 +08:00
ccache ccache: update to 3.7.9 2020-05-29 11:42:05 +08:00
cmake tools/cmake: update to 3.17.0 2020-04-07 23:15:03 +08:00
coreutils
dosfstools
e2fsprogs tools/e2fsprogs: fix build under macos 2020-04-10 20:04:56 +08:00
elftosb
expat
findutils tools/findutils: Update to 4.7.0 2020-04-10 09:17:04 +08:00
firmware-utils firmware-utils: mkfwimage: fix memcpy and strncpy usage 2020-07-12 11:57:40 +08:00
flex
flock
genext2fs
gengetopt
gmp tools/gmp: Remove obsolete options 2020-02-20 03:02:36 +08:00
include
isl
kernel2minor
libelf
libressl tools/libressl: Update to 3.0.2 2020-02-20 03:04:00 +08:00
libtool
lzma
lzma-old
m4
make-ext4fs make_ext4fs: Update to version 2020-01-05 2020-01-15 02:06:24 +08:00
missing-macros
mkimage tools/mkimage: update to 2020.04 2020-04-27 08:56:26 +08:00
mklibs
mm-macros tools/mm-macros: Update to 1.0.0 2020-04-10 09:18:12 +08:00
mpc
mpfr
mtd-utils
mtools tools/mtools: Update to 4.0.24 2020-04-10 09:17:20 +08:00
padjffs2
patch
patch-image
patchelf tools/patchelf: Update to 0.10 2020-02-20 03:03:26 +08:00
pkg-config Revert "tools/pkg-config: Replace with pkgconf" 2020-03-12 03:40:27 +08:00
qemu luci-app-ssr-plus: fix v2ray Netflix unlock 2020-03-17 10:42:17 +08:00
quilt
sdimage
sed tools/sed: Update to 4.8 2020-02-20 03:02:22 +08:00
sparse
squashfs squashfs: Fix compile with GCC 10 2020-06-19 17:09:24 +08:00
squashfskit4 squashfskit4: add PKG_RELEASE 2020-06-24 18:27:10 +08:00
sstrip
tar
ucl ucl: fix CLEAN 2020-04-23 01:44:28 +08:00
upslug2
upx upx: fix host build (#3339) 2020-03-01 14:05:09 +08:00
wrt350nv2-builder Merge Lean's source 2020-02-01 00:36:16 +08:00
xz tools/xz: Update to 5.2.5 2020-04-10 09:17:36 +08:00
zip
zlib
zstd tools: add zstd 2020-05-31 19:37:02 +08:00
Makefile tools: add zstd 2020-05-31 19:37:02 +08:00