summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Table/TableDec.py
diff options
context:
space:
mode:
authorKrzysztof Koch <krzysztof.koch@arm.com>2020-02-11 13:01:17 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-19 09:01:39 +0300
commit6d8f4bafadb52a4a674de1a2eb463f84154d066d (patch)
tree72387dcf64312af442e8083ef07b24a49c6772e6 /BaseTools/Source/Python/Table/TableDec.py
parent0b9026a823e01078681a3a9153f17c78afb042dd (diff)
downloadedk2-6d8f4bafadb52a4a674de1a2eb463f84154d066d.tar.xz
ShellPkg: acpiview: Validate ACPI table 'Length' field
Check if the ACPI table length, as reported in the ACPI table header, is big enough to fit at least the header itself. If not, report an error to the user and stop parsing the table in order to prevent buffer overruns. Signed-off-by: Krzysztof Koch <krzysztof.koch@arm.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com> Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Table/TableDec.py')
0 files changed, 0 insertions, 0 deletions