aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bc
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2018-11-08 12:46:37 +0100
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2018-11-08 13:32:22 +0100
commitb4e17a7440cd9885a678f2a28609a38eca6dd5dc (patch)
treefb2c016cd6ea6849f3f46604b5278ac5d223854a /tools/bc
parentd157a76c67bcb821d3ec8dcd4312390ef129a95a (diff)
downloadupstream-b4e17a7440cd9885a678f2a28609a38eca6dd5dc.tar.gz
upstream-b4e17a7440cd9885a678f2a28609a38eca6dd5dc.tar.bz2
upstream-b4e17a7440cd9885a678f2a28609a38eca6dd5dc.zip
ramips: fix netgear r6120 factory image generation
as indicated in commit c5bf408ed6bd "(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>
Diffstat (limited to 'tools/bc')
0 files changed, 0 insertions, 0 deletions