Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
codedokode
· 7y ago · 0 comments
I think that putting a hard limit on alloca allocation size, somewhere around 1-10 Kb, could help prevent this type of exploits. Also, it is possible to write a function that would choose between alloca() and malloc()/free() depending on the size.
Comments
No comments yet.
Better HN