msm: ipa3: Fix to validate the NAT table entries during NAT table init

During NAT table Initialization parameter pass from HLOS, if max/zero
table entries passed it was leading to out of bound read. Adding checks
to validate the table entries before passing to NAT table parameter.

Signed-off-by: Himansu Nayak <quic_himansu@quicinc.com>
1 file changed