Closed GoogleCodeExporter closed 9 years ago
More proper fix is to remove an ampersand:
t->stack = block->stack + sizeof(struct thread);
Another solution is to add a flex array member to the end of thread struct:
struct thread {
...
char stack[];
}
Antonishko, feel free to fix it yourself.
Original comment by Eldar.Abusalimov
on 19 Mar 2013 at 5:21
How did it work before???
Original comment by iantonishko
on 19 Mar 2013 at 7:58
Original issue reported on code.google.com by
drakon.m...@gmail.com
on 19 Mar 2013 at 5:08