diff options
author | George Rimar <grimar@accesssoftek.com> | 2016-07-26 10:47:09 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2016-07-26 10:47:09 +0000 |
commit | bfc4a4b7a116055eda4cc79d3b0bd26c1897ae96 (patch) | |
tree | 7edbdf61a16da0f3a86b5b6686f4bcc90814c946 /llvm/docs/conf.py | |
parent | 019e1024267da0344853a9f33b8bc8d2765961b7 (diff) | |
download | bcm5719-llvm-bfc4a4b7a116055eda4cc79d3b0bd26c1897ae96.tar.gz bcm5719-llvm-bfc4a4b7a116055eda4cc79d3b0bd26c1897ae96.zip |
[ELF] - Fixed possible iterator overflow.
We can have Opt.Commands size greater then Sections.size().
For example if we have next script:
SECTIONS {
.aaa : { *(.aaa) }
.bbb : { *(.bbb) }
.ccc : { *(.ccc) }
}
and next code:
.global _start
_start:
nop
.section .aaa,"a"
.quad 0
Then amount of sections is less than amound of Opt.Commands
and if we for example have all commands NoConstraint,
that overflowed the iterator used.
llvm-svn: 276741
Diffstat (limited to 'llvm/docs/conf.py')
0 files changed, 0 insertions, 0 deletions