Skip to content

Commit d92c677

Browse files
authored
[lldb][Windows] Fixed the TestIOHandlerResizeNoEditline test (#92286)
This test caused python crash on Windows x86_64 host with the exit code 0xC0000409 (STATUS_STACK_BUFFER_OVERRUN). Close the input stream before exit to avoid this crash.
1 parent 7645269 commit d92c677

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lldb/test/API/iohandler/resize/TestIOHandlerResizeNoEditline.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ def test_resize_no_editline(self):
1818
dbg.RunCommandInterpreter(True, True, opts, 0, False, False)
1919
# Try resizing the terminal which shouldn't crash.
2020
dbg.SetTerminalWidth(47)
21+
dbg.GetInputFile().Close()

0 commit comments

Comments
 (0)