openwrtv4/tools
Koen Vandeputte b4e17a7440 ramips: fix netgear r6120 factory image generation
as indicated in commit c5bf408ed6 "(ramips: fix image generation for mt76x8")
more rework was needed to fix the other issues.

Building on another machine, but using the same arch, showed
the application failing again for different reasons.

Fix this by completely rewriting the application, fixing following found issues:

- buffer overflows, resulting in stack corruption
- flaws in memory requirement calculations (too small, too large)
- memory leaks
- missing bounds checking on string handling
- non-reproducable images, by using unitilized memory in checksum calculation
- missing error handling, resulting in succes on specific image errors
- endianness errors when building on BE machines
- various minor build warnings
- documentation did not match the code actions (header item locations)
- allowing input to be decimal, hex or octal now

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2018-11-08 13:32:22 +01:00
..
autoconf treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
automake add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
b43-tools b43-tools: update to latest git HEAD 2018-06-18 20:29:38 +02:00
bc treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
bison tools/bison: update to version 3.2 2018-11-05 14:04:26 +01:00
ccache tools/ccache: update to 3.5 2018-11-01 13:49:52 +01:00
cmake tools/cmake: Update to 3.12.3 2018-10-07 02:10:15 +02:00
coreutils add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
dosfstools add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
e2fsprogs tools/e2fsprogs: fix build with clang 2018-09-15 15:49:43 +02:00
elftosb treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
expat tools/expat: fix docbook2man error on some systems 2018-09-11 15:00:09 +02:00
findutils tools: findutils: fix compilation with glibc 2.28 2018-08-10 06:29:49 +02:00
firmware-utils ramips: fix netgear r6120 factory image generation 2018-11-08 13:32:22 +01:00
flex add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
flock tools: flock: add NFSv4 compatibility 2016-08-11 10:50:10 +02:00
genext2fs treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
gengetopt treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
gmp tools: gmp: Update to 6.1.2 2017-01-03 14:24:33 +01:00
include tools: host/include/getline.h: Remove 2017-04-26 10:29:39 +02:00
isl tools/isl: update to 0.18 2017-05-25 19:01:07 +02:00
kernel2minor tools: kernel2minor: update to latest version 2018-07-12 18:15:33 +02:00
libelf treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
libressl build: fix libressl build on x32 (amd64ilp32) host 2018-11-01 17:16:52 +01:00
libtool add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
lzma treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
lzma-old tools/zlib: move zlib build to tools 2018-04-28 15:28:59 +02:00
m4 tools: m4: fix compilation with glibc 2.28 2018-08-10 06:29:32 +02:00
make-ext4fs tools/make-ext4fs: Fix build on MacOSX 2018-04-29 00:57:07 +02:00
missing-macros tools: remove a bunch of unused automake macros 2015-03-17 10:11:00 +00:00
mkimage tools: mkimage: provide dtc path during build 2018-04-19 08:34:34 +02:00
mklibs treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
mm-macros tools/mm-macros: Update to 0.9.12 2018-05-05 07:13:48 +02:00
mpc tools/mpc: Update to 1.1.0 2018-01-18 08:04:18 +01:00
mpfr tools/mpfr: Update to 4.0.1 2018-04-11 21:02:50 +02:00
mtd-utils mtd-utils: add back macOS compatibility code that was dropped during the update 2018-04-30 10:12:55 +02:00
mtools tools/mtools: Update to 4.0.19 2018-10-07 02:10:15 +02:00
padjffs2 tools: padjffs2: add option to output padding data to stdout 2016-07-11 13:26:33 +02:00
patch tools/patch: Add fedora patch for crashing git style patches 2018-11-01 17:16:52 +01:00
patch-image tools: patch-image: fix file descriptor leak. 2017-02-15 07:45:24 +01:00
patchelf treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
pkg-config tools/pkg-config: pass arguments at the end 2018-10-20 16:24:29 +02:00
qemu add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
quilt treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
scons tools/scons: update to 3.0.1 2018-01-17 08:52:54 +01:00
sdimage imx-uuc: updated to latest git HEAD 2018-06-08 09:30:57 +02:00
sed tools/sed: Update to 4.5 2018-05-05 07:13:41 +02:00
sparse sparse: updated to version 0.5.2 2018-06-08 09:56:26 +02:00
squashfs add PKG_CPE_ID ids to package and tools 2017-11-17 02:24:35 +01:00
squashfs4 tools/zlib: move zlib build to tools 2018-04-28 15:28:59 +02:00
sstrip tools/sstrip: Fix compile under standard linux. 2017-12-08 10:40:20 +01:00
tar tools/tar: update to 1.30 2018-01-20 20:22:01 +01:00
upslug2 treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
wrt350nv2-builder tools: remove static linking support 2015-02-06 00:00:43 +00:00
xz tools/xz: Add PKG_CPE_ID for proper CVE tracking 2018-10-16 19:17:36 +01:00
zlib tools: zlib: do not hardcode the install prefix in zlib.pc 2018-05-24 17:07:10 +02:00
Makefile tools: patch: Fix build by not modifing Makefile.am 2018-10-14 16:47:15 +02:00