-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
A Potential Bug of NPD #3312
Copy link
Copy link
Closed
Description
Hi, I found a potential null pointer dereference bug in the project source code of tmux, and I have shown the execution sequence of the program that may generate the bug on the graph below. The red text illustrates the steps that generate the bug
I think I do not need to provide more specific information in this bug to explain why the function bufferevent_new returns null, because some code snippets can already be seen in the current version of the code as follows
Lines 523 to 526 in 038dfb2
| buffer = evbuffer_new(); | |
| if (buffer == NULL) | |
| fatalx("out of memory"); | |
I look forward to your reply and thank you very much for your patience!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
