- Make allocUnalignedBuffer look more like allocArray and alloc. No behavior change.
- Change Head->Used < Head->Capacity to Head->Used <= Head->Capacity in allocArray and alloc. No intended behavior change, might be a minuscule memory usage improvement. Noticed this since it was the logic used in allocUnalignedBuffer.
- Don't let allocArray alloc too small buffers for names that have more than 512 levels of nesting (in 64-bit builds). Fixes a heap buffer overflow found by oss-fuzz.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM