openwrtv3/tools/firmware-utils
Mathias Kresin 06741411e0 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>
2017-06-26 20:08:36 +02:00
..
src firmware-utils: fix dgn3500sum compiler warnings 2017-06-26 20:08:36 +02:00
Makefile firmware-utils: fix dgn3500sum compiler warnings 2017-06-26 20:08:36 +02:00