diff options
author | Mathias Kresin <dev@kresin.me> | 2017-06-26 19:22:52 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-06-26 20:08:36 +0200 |
commit | 06741411e020bb28160ddd42149d6a489800dbc7 (patch) | |
tree | 353b36569c688cac8ac14e2ea16702f5ac5f8600 /tools/wrt350nv2-builder | |
parent | f33de8023228d7d6545ff12c4f2ef8febb486f37 (diff) | |
download | mtk-20170518-06741411e020bb28160ddd42149d6a489800dbc7.zip mtk-20170518-06741411e020bb28160ddd42149d6a489800dbc7.tar.gz mtk-20170518-06741411e020bb28160ddd42149d6a489800dbc7.tar.bz2 |
firmware-utils: fix dgn3500sum compiler warnings
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>
Diffstat (limited to 'tools/wrt350nv2-builder')
0 files changed, 0 insertions, 0 deletions