Mercurial > vim
view src/testdir/test_channel_6.py @ 28213:183ae001d99d v8.2.4632
patch 8.2.4632: using freed memory in flatten()
Commit: https://github.com/vim/vim/commit/f3980dc5d0a5f873cf764b8ba3e567e42259e4e5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 26 16:42:23 2022 +0000
patch 8.2.4632: using freed memory in flatten()
Problem: Using freed memory in flatten().
Solution: Clear typval after recursing into list.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 26 Mar 2022 17:45:03 +0100 |
parents | e373843e2980 |
children |
line wrap: on
line source
#!/usr/bin/env python # # Server that will accept connections from a Vim channel. # Used by test_channel.vim. # # This requires Python 2.6 or later. from test_channel import main, ThreadedTCPServer import socket class ThreadedTCP6Server(ThreadedTCPServer): address_family = socket.AF_INET6 if __name__ == "__main__": main("::", 0, ThreadedTCP6Server)