-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix stack-buffer-overflow in generated code
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.
- Loading branch information
Showing
1 changed file
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters