soc: qcom: Add Upperbounds check for program header
e_phnum represent the number of entries in the program header table.
So add Upperbounds check for program header and return invalid if the
number of program headers is greater than PN_XNUM (0xffff).
Change-Id: I63927e2e88a57a567a52b4eb377abe94ad3713b8
Signed-off-by:
Auditya Bhattaram <quic_audityab@quicinc.com>
parent
60fe6483