New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty tables yield a segmentation fault on `--display` #150

Closed
ydahhrk opened this Issue Apr 20, 2015 · 1 comment

Comments

Projects
None yet
1 participant
@ydahhrk
Member

ydahhrk commented Apr 20, 2015

Or not.

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.

Applies to --eamt --display, --pool4 --display, --bib --display and --session --display.

This is an userspace application problem, which means it doesn't crash the kernel.

Thanks to Edgar Rodriguez for pointing this out.

@ydahhrk

This comment has been minimized.

Show comment
Hide comment
@ydahhrk

ydahhrk Aug 17, 2015

Member

Merged; closing.

Member

ydahhrk commented Aug 17, 2015

Merged; closing.

@ydahhrk ydahhrk closed this Aug 17, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment