diff options
| author | Elliott Hughes <enh@google.com> | 2012-07-23 10:49:56 -0700 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2012-07-23 10:49:56 -0700 |
| commit | 4f29f302c71d886db8ced57b6ede2d9cf41b30de (patch) | |
| tree | de1053aa7ebe855947088a4d6cec8628a364c9bf /vm/compiler/codegen/mips/CodegenCommon.cpp | |
| parent | b498bf420d28aeab14384fcc12db54d00ede03d3 (diff) | |
Fix Method.getParameterAnnotations.
The dex format represents parameter annotations using an
annotation_set_ref_item for each parameter. According to the spec,
the item's annotation_offset can be "0 if there are no annotations for this
element". The Dalvik VM accepts 0 values in the verification step,
but Method#getParameterAnnotations then crashes with a segmentation fault.
Bug: http://code.google.com/p/android/issues/detail?id=35304
Change-Id: I0ac7336d369894520c8e17848ab6a91dbbd905e9
Diffstat (limited to 'vm/compiler/codegen/mips/CodegenCommon.cpp')
0 files changed, 0 insertions, 0 deletions
