barebox-state: backend_raw: init digest earlier
In backend_format_raw_pack() digest_length is used before it's initialized in backend_raw_digest_init() which results in a too small memory allocation for the raw backend. Fix this and prevent a memory corruption. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
---|
|
src/barebox-state/backend_format_raw.c |
---|