diff options
author | Robert Moore <Robert.Moore@intel.com> | 2019-05-09 12:52:08 -0700 |
---|---|---|
committer | Robert Moore <Robert.Moore@intel.com> | 2019-05-09 12:52:08 -0700 |
commit | ee72d6550e0c6ac71c837df40f77f9d86cb76802 (patch) | |
tree | e8118193d5b79b31c32bf4f87bc87fd62d1a779d /source/compiler/aslmessages.c | |
parent | 263015ebbadac193a0d35236dfd90055ce7f6d2a (diff) | |
download | acpica-ee72d6550e0c6ac71c837df40f77f9d86cb76802.tar.gz |
iASL: Add buffer overflow analysis for Create Buffer Field ops
Implemented additional buffer overflow analysis for BufferField
declarations. Check if a buffer index argument to a create buffer
field operation is beyond the end of the target buffer.
*
* This affects these AML operators:
*
* AML_CREATE_FIELD_OP
* AML_CREATE_BIT_FIELD_OP
* AML_CREATE_BYTE_FIELD_OP
* AML_CREATE_WORD_FIELD_OP
* AML_CREATE_DWORD_FIELD_OP
* AML_CREATE_QWORD_FIELD_OP
Diffstat (limited to 'source/compiler/aslmessages.c')
-rw-r--r-- | source/compiler/aslmessages.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/compiler/aslmessages.c b/source/compiler/aslmessages.c index 875ef02df..cf7a7a4f4 100644 --- a/source/compiler/aslmessages.c +++ b/source/compiler/aslmessages.c @@ -365,8 +365,7 @@ const char *AslCompilerMsgs [] = /* ASL_MSG_REGION_LENGTH */ "Operation Region declared with zero length", /* ASL_MSG_TEMPORARY_OBJECT */ "Object is created temporarily in another method and cannot be accessed", /* ASL_MSG_UNDEFINED_EXTERNAL */ "Named object was declared external but the actual definition does not exist", -/* ASL_MSG_INVALID_BUFFER_START_INDEX */ "Buffer starting index might be beyond end of target buffer", -/* ASL_MSG_INVALID_BUFFER_END_INDEX */ "Buffer might extend beyond end of target buffer", +/* ASL_MSG_BUFFER_FIELD_OVERFLOW */ "Buffer field extends beyond end of target buffer" }; /* Table compiler */ |