Skip to content
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

Undefined behavior #5

Open
rom1v opened this issue Oct 4, 2018 · 0 comments
Open

Undefined behavior #5

rom1v opened this issue Oct 4, 2018 · 0 comments

Comments

@rom1v
Copy link
Owner

rom1v commented Oct 4, 2018

delay/dtbuf.c

Line 88 in 7ae9796

struct header *pheader = (struct header *) &dtbuf->data[dtbuf->tail];

Accessing content via pheader is undefined behavior. See A bug story: data alignment on x86.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant