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

Potential Null pointer dereference in bufferevent_openssl.c #1599

Open
icy17 opened this issue Apr 10, 2024 · 1 comment
Open

Potential Null pointer dereference in bufferevent_openssl.c #1599

icy17 opened this issue Apr 10, 2024 · 1 comment

Comments

@icy17
Copy link
Contributor

icy17 commented Apr 10, 2024

  1. In libevent/bufferevent_openssl.c:183, calling bufferevent_get_input without checking the parameter 1 might cause null dereference.
  2. In libevent/bufferevent_openssl.c:186, calling bufferevent_get_output without checking the parameter 1 might cause null dereference.
@azat
Copy link
Member

azat commented Apr 15, 2024

It should never be NULL, but it is ok to add an EVUTIL_ASSERT

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

No branches or pull requests

2 participants