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

Failure to allocate ring buffer not checked #15

Open
Munger opened this issue Mar 18, 2021 · 0 comments
Open

Failure to allocate ring buffer not checked #15

Munger opened this issue Mar 18, 2021 · 0 comments

Comments

@Munger
Copy link

Munger commented Mar 18, 2021

If this fails ->

                          pbuff = RingBuf_new(sizeof(e131_packet_t), buffers);

the problem is not caught. This causes a panic in isEmpty()

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