segmentation fault in small test
gstvrmrlpz opened this issue · comments
gustavo commented
segmentation fault in small test
can see in https://pccito.ugr.es/bug2/
Mattias Jansson commented
Seems to me to be a bug in your code, you're not initializing the stack head member variable, so the first push will get a next pointer that is invalid.
gustavo commented
your are right... :)