Closed
Description
Hi, recently I use fuzzing to check the vim and I find an NPD problem.
In src/libvterm/src/termscreen.c

This could return a null pointer for the caller function vterm_obtain_screen and store in the vt->screen.

This null screen is return to create_vterm function in src/terminal.c

then again in vterm_screen_set_callbacks function defined in src/libvterm/src/termscreen.c

The callback function is set to a null pointer screen.
The potential problem is that you can set a callback function to a predefined NULL memory address which might lead to more problem.
I wonder this is a true problem in vim or not, could you help to verify it?
I am looking forward to your reply!
Metadata
Metadata
Assignees
Labels
No labels