Enhance size check in readPacketFilter to prevent overflow

Test: TH
Change-Id: I04dae5a2faf3e779bfc9644416e61d9db71af402
1 file changed