llvm-6502/include
Chris Lattner d0dfbe096d fix overflow checks in SmallVector:
"The code was doing "if (End+NumInputs > Capacity) ...". If End is
close to 0xFFFFFFFF and NumInputs is large, it'll overflow, the
condition will come out false, and the vector won't grow to
accommodate the new elements, and the program will crash in memmove."

Patch by Jeffrey Yasskin!



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68277 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-02 03:06:26 +00:00
..
llvm fix overflow checks in SmallVector: 2009-04-02 03:06:26 +00:00
llvm-c It makes no sense to have a ODR version of common 2009-03-11 20:14:15 +00:00