Openwrt/tools
Michael T Farnworth b468353a37 mkrasimage: fix segmentation fault
Code was attempting to determine the size of the file
before it was actually known and allocating insufficient
memory space.  Images above a certain size caused a
segmentation fault.  Moving the calloc() ensured ensured
that large images didn't result in a buffer overflow on
memcpy().

Signed-off-by: Michael T Farnworth <michael@turf.org>
[fixed name in From to match one in SoB]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-03-01 21:36:00 +01:00
..
autoconf
automake
b43-tools
bc
bison
cbootimage
cbootimage-configs
ccache
cmake
coreutils
dosfstools
e2fsprogs
elftosb
expat
findutils
firmware-utils mkrasimage: fix segmentation fault 2020-03-01 21:36:00 +01: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 tools/pkgconf: Run pkg-config wrapper through shellcheck 2020-03-01 21:36:00 +01:00
qemu
quilt
sdimage
sed
sparse
squashfs
squashfskit4
sstrip
tar
upslug2
wrt350nv2-builder
xz
zip
zlib
Makefile