julia icon indicating copy to clipboard operation
julia copied to clipboard

Fix stack-buffer-overflow in generated code

Open Keno opened this issue 3 years ago • 0 comments

When generating code for a local, we were using the LLVM type for the allocation. However, we were assuming that the allocation was sized according to the julia datatype size. These two sizes do not match, as the julia size is rounded up to alignment, causing a stack buffer overflow.

Keno avatar Aug 05 '22 09:08 Keno