Re: [PATCH] bootstd: android: avoid possible null pointer dereference

2025-04-10 Thread Mattijs Korpershoek
Hi, On Wed, 02 Apr 2025 16:42:19 +0200, Gary Bisson wrote: > - avb_slot_verify_data_free() doesn't check its data parameter > - out_data can be null if avb_slot_verify() fails to allocate memory > > Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu) [1/1] boot

Re: [PATCH] bootstd: android: avoid possible null pointer dereference

2025-04-03 Thread Mattijs Korpershoek
Hi Gary, Thank you for the patch. On mer., avril 02, 2025 at 16:42, Gary Bisson wrote: > - avb_slot_verify_data_free() doesn't check its data parameter > - out_data can be null if avb_slot_verify() fails to allocate memory > > Signed-off-by: Gary Bisson Reviewed-by: Mattijs Korpershoek > --

[PATCH] bootstd: android: avoid possible null pointer dereference

2025-04-02 Thread Gary Bisson
- avb_slot_verify_data_free() doesn't check its data parameter - out_data can be null if avb_slot_verify() fails to allocate memory Signed-off-by: Gary Bisson --- Another approach would be to fix avb_slot_verify_data_free() to check its paramter but I believe the goal is not to touch libavb to be