diff options
author | Tamas Berghammer <tberghammer@google.com> | 2015-08-25 11:45:46 +0000 |
---|---|---|
committer | Tamas Berghammer <tberghammer@google.com> | 2015-08-25 11:45:46 +0000 |
commit | b7c64651e4973d080635889aefa01abc3a5ef478 (patch) | |
tree | 1b4b1e7017a8b349c2f7122f7fbb4c99fe0d4967 /lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | |
parent | b62c5bc64dee3642884c31b8208c07a6f74b81fd (diff) | |
download | bcm5719-llvm-b7c64651e4973d080635889aefa01abc3a5ef478.tar.gz bcm5719-llvm-b7c64651e4973d080635889aefa01abc3a5ef478.zip |
Fix buffer overflow for fixed_form_sizes
The array is indexed by the value in the DW_FORM filed what can be
bigger then the size of the array. This CL add bound checking to avoid
buffer overflows
Differential revision: http://reviews.llvm.org/D12239
llvm-svn: 245930
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp')
0 files changed, 0 insertions, 0 deletions