Openwrt/tools
Petr Štetiar ea1acaf5a6 firmware-utils: uimage_padhdr: fix Coverity issue
Fixes following issue reported by Coverity scan:

 *** CID 1452085:  Security best practices violations  (TOCTOU)
 /tools/firmware-utils/src/uimage_padhdr.c: 100 in main()
 94
 95     	if (!infname || !outfname) {
 96     		usage(argv[0]);
 97     		exit(1);
 98     	}
 99
 >>>     CID 1452085:  Security best practices violations  (TOCTOU)
 >>>     Calling function "stat" to perform check on "infname".
 100     	if (stat(infname, &statbuf) < 0) {

Fixes: a1c6a316d2 ("ramips: add support for Fon FON2601")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-08-04 22:09:20 +02:00
..
autoconf
automake
b43-tools tools/b43-tools/b43-fwsquash: convert to Python 3 with 2-to-3 2019-07-26 08:09:16 +02:00
bc
bison
cbootimage
cbootimage-configs
ccache ccache: update to 3.7.2 2019-08-04 13:53:05 +02:00
cmake
coreutils
dosfstools
e2fsprogs
elftosb
expat
findutils
firmware-utils firmware-utils: uimage_padhdr: fix Coverity issue 2019-08-04 22:09:20 +02:00
flex
flock
genext2fs
gengetopt
gmp
include
isl
kernel2minor
libelf
libressl tools: libressl: fix compilation for non-glibc clib (FS#2400) 2019-07-23 14:54:07 +02:00
libtool
lzma
lzma-old
m4
make-ext4fs
missing-macros
mkimage
mklibs tools/mklibs: update to 0.1.44 and convert to Python 3 2019-07-26 23:50:21 +02:00
mm-macros
mpc
mpfr
mtd-utils
mtools
padjffs2
patch tools/patch: apply upstream patch for CVE-2019-13636 2019-07-30 10:16:16 +02:00
patch-image
patchelf
pkg-config
qemu
quilt
scons tools/scons: switch to Python 3 2019-07-26 08:09:16 +02:00
sdimage
sed
sparse
squashfs
squashfskit4
sstrip
tar
upslug2
wrt350nv2-builder
xz
zip
zlib
Makefile