msm: ipa: fix potential heap overflow in intf property queries
Number of TX/RX/EXT properties to be read is supplied by
user-space and if these values are maliciously set too large,
heap overflow and memory corruption can result. This commit
caps the max allowed interface properties.
Change-Id: I9f5bf8b5e9a1b3b47b0741c0b00d5fafc77b28e2
Signed-off-by:
Ravi Gummadidala <rgummadi@codeaurora.org>
Loading
Please register or sign in to comment