Commit 3f458fe
Bootutil: always initialise the size returned by boot_util_image_size()
Assert on the pointer validity in debug builds and make sure that
an initialised value of 0 is always returned even in case of errors
Change-Id: Ia0546941296fc9741c1b20955d7c7a0d47c7b2e1
Signed-off-by: Antonio de Angelis <[email protected]>1 parent 671513c commit 3f458fe
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
752 | 752 | | |
753 | 753 | | |
754 | 754 | | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
755 | 758 | | |
756 | 759 | | |
757 | 760 | | |
| |||
0 commit comments