| शीर्षक | nnn v5.1 Double Free |
|---|
| विवरण | The run_cmd_as_plugin function contains a double-free vulnerability when handling the F_WINDOW flag. The content buffer is passed to show_content_in_floating_window, which frees the memory if window creation fails. However, run_cmd_as_plugin unconditionally calls free(content) immediately after that function returns. This causes the memory to be freed a second time if an error occurs within the window display logic. |
|---|
| स्रोत | ⚠️ https://github.com/jarun/nnn/issues/2091#issuecomment-3545367083 |
|---|
| उपयोगकर्ता | micromilo (UID 84159) |
|---|
| सबमिशन | 19/11/2025 03:22 PM (11 महीनों पहले) |
|---|
| संयम | 05/12/2025 06:12 PM (16 days later) |
|---|
| स्थिति | प्रतिलिपि |
|---|
| VulDB प्रविष्टि | 333330 [jarun nnn तक 5.1 nnn/src/nnn.c show_content_in_floating_window/run_cmd_as_plugin बफ़र ओवरफ़्लो] |
|---|
| अंक | 0 |
|---|