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:11:16 +0200 |
commit | 6c03b293bb2ba86f22ea6e20dd0266892932f585 (patch) | |
tree | 76a9346cc21fcaa961f3a6d3fc4e10ccccf63cd9 /scripts/gen-dependencies.sh | |
parent | 73a4568f19381ee762816d66b69c0f0b7d1c1c98 (diff) | |
download | upstream-6c03b293bb2ba86f22ea6e20dd0266892932f585.tar.gz upstream-6c03b293bb2ba86f22ea6e20dd0266892932f585.tar.bz2 upstream-6c03b293bb2ba86f22ea6e20dd0266892932f585.zip |
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 'scripts/gen-dependencies.sh')
0 files changed, 0 insertions, 0 deletions