Commit cc90a1f
committed
loader: return if sketch_buf could not be allocated
Without the return statement on alloc failure 'flash_area_read'
gets an uninitialized pointer.1 parent 18e9ded commit cc90a1f
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
| |||
0 commit comments