diff options
| author | Sean Dewar <6256228+seandewar@users.noreply.github.com> | 2026-01-16 00:53:55 +0000 |
|---|---|---|
| committer | Sean Dewar <6256228+seandewar@users.noreply.github.com> | 2026-01-17 13:22:55 +0000 |
| commit | a5e5ec8910ea35ebb86dcba7f58333d9d4caca47 (patch) | |
| tree | b4d9396db2fe340801cd51de07c881b350d2f5f4 /runtime/syntax/python.vim | |
| parent | 5226801be26419f9a8277cbc35592cc2f0004d64 (diff) | |
| download | rneovim-a5e5ec8910ea35ebb86dcba7f58333d9d4caca47.tar.gz rneovim-a5e5ec8910ea35ebb86dcba7f58333d9d4caca47.tar.bz2 rneovim-a5e5ec8910ea35ebb86dcba7f58333d9d4caca47.zip | |
fix(api): parse_expression crash with unopened ] and node
Problem: nvim_parse_expression null pointer dereference with unmatched ]
followed by a node.
Solution: if ast_stack was empty, set new_top_node_p to top of the stack after
pushing the list literal node; similar to what's done for curlies.
This bug was originally found by a Matrix user, but I couldn't remember how to
trigger it... Ran into the other crash while finding a repro. :P
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions