Commit cdf974df authored by Matthias Braun's avatar Matthias Braun
Browse files

alloca fails in loops

parent d8a39b02
#include <alloca.h>
int main()
char *b1 = alloca(13);
int i;
for(i = 0; i < 5; ++i) {
char *bfs = alloca(24);
printf("Offset: %d\n", bfs - b1);
return 0;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment