[PATCH v2 1/4] soc: qcom: mdt_loader: Fix check mdt_header_valid()

Mukesh Ojha mukesh.ojha at oss.qualcomm.com
Wed Aug 6 22:09:50 PDT 2025


On Wed, Aug 06, 2025 at 03:01:45PM -0700, Bjorn Andersson wrote:
> On Wed, Aug 06, 2025 at 10:55:28PM +0530, Mukesh Ojha wrote:
> > Firmware binaries may lack section headers, in which case
> > the e_shentsize field in the ELF header can be zero.
> > 
> > Update mdt_header_valid() to correctly handle this scenario
> > by adjusting the validation logic accordingly.
> > 
> 
> As I replied earlier today on v1 (probably after you sent this), I've
> applied the patch I sent out earlier for this problem.

Sure, thank you.

-Mukesh



More information about the ath12k mailing list