[PATCH] imd: imd_calculate_crc32: initialize imd_crc to NULL

Hubert Feurstein h.feurstein at gmail.com
Fri Sep 4 08:49:15 EDT 2020


Am Fr., 4. Sept. 2020 um 12:10 Uhr schrieb Hubert Feurstein
<h.feurstein at gmail.com>:
> This fixes a NULL pointer dereference in the caller when imd-crc-token is
> not found.
In fact, it is even worse, it is a "uninitialized pointer dereference".

Regards
Hubert



More information about the barebox mailing list