Add validity check to detect invalid PDUs.

Test: manual
Bug: 181382933
Change-Id: I32cdca12c279bf0514a8b7d102d5b4b6b0d76314
1 file changed