Skip to content
Commit 06426824 authored by Auditya Bhattaram's avatar Auditya Bhattaram Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarAuditya Bhattaram <quic_audityab@quicinc.com>
parent 60fe6483
Please register or to comment