06741411e0
The sum variable need to be initialised, otherwise it will points to random stack memory and a bogus image checksum might be calculated. While at it, fix the segfault in case the product region code isn't specified and enable compiler warnings which had revealed all the code issues. Signed-off-by: Mathias Kresin <dev@kresin.me> |
||
---|---|---|
.. | ||
autoconf | ||
automake | ||
b43-tools | ||
bc | ||
bison | ||
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 | ||
pkg-config | ||
qemu | ||
quilt | ||
scons | ||
sdimage | ||
sed | ||
sparse | ||
squashfs | ||
squashfs4 | ||
sstrip | ||
tar | ||
upslug2 | ||
wrt350nv2-builder | ||
xz | ||
Makefile |