commit | 0e616a658c40b2f9986e907552af67c19a2ce9e8 | [log] [tgz] |
---|---|---|
author | Mike McTernan <mikemcternan@google.com> | Fri Dec 16 11:58:05 2022 +0000 |
committer | Mike McTernan <mikemcternan@google.com> | Thu Dec 22 17:30:42 2022 +0000 |
tree | 0f25a51a8b3b6861a8f4293f227cccbef3331a8d | |
parent | d68b0549f42900c6c1d081526147e310e5cc4933 [diff] |
libufdt: tests: Check input file integrity before parsing. This prevents malformed input causing the tests to crash, misbehave or fail if there is not enough memory to contain them. Ignore-AOSP-First: Security Bug: 260569699 Test: mma system/libufdt Test: system/libufdt/tests/run_tests.sh Test: system/libufdt/tests/run_performance_test.sh Change-Id: I89df0d33b5f6b5b9484a9b79534ab5163d184e3f (cherry picked from commit 0750fc213182630aa6a4b2156a8beab8a75495c8)