Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Empty tables yield a segmentation fault on `--display` #150
The problem is an array out of bounds. Because this yields undefined behaviour, some versions of gcc cause a segfault, others simply copy bogus memory to a structure field that will never be read. Other versions might do something else.
This is an userspace application problem, which means it doesn't crash the kernel.
Thanks to Edgar Rodriguez for pointing this out.