HomePhabricator

Fix buffer overflow for fixed_form_sizes

Description

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

Details

Committed
tberghammerAug 25 2015, 4:45 AM
Differential Revision
D12239: Fix buffer overflow for fixed_form_sizes
Branches
Unknown
Tags
Unknown