diff options
Diffstat (limited to 'data/vim/patches/8.1.0641')
-rw-r--r-- | data/vim/patches/8.1.0641 | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/data/vim/patches/8.1.0641 b/data/vim/patches/8.1.0641 deleted file mode 100644 index de6786a07..000000000 --- a/data/vim/patches/8.1.0641 +++ /dev/null @@ -1,57 +0,0 @@ -To: vim_dev@googlegroups.com -Subject: Patch 8.1.0641 -Fcc: outbox -From: Bram Moolenaar <Bram@moolenaar.net> -Mime-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit ------------- - -Patch 8.1.0641 -Problem: No check for out-of-memory when converting regexp. -Solution: Bail out when lalloc() returns NULL. (John Marriott) -Files: src/regexp_nfa.c - - -*** ../vim-8.1.0640/src/regexp_nfa.c 2018-07-17 05:43:50.483214748 +0200 ---- src/regexp_nfa.c 2018-12-26 21:52:12.684487595 +0100 -*************** -*** 3218,3225 **** - - if (nfa_calc_size == FALSE) - { -! /* Allocate space for the stack. Max states on the stack : nstate */ - stack = (Frag_T *)lalloc((nstate + 1) * sizeof(Frag_T), TRUE); - stackp = stack; - stack_end = stack + (nstate + 1); - } ---- 3218,3227 ---- - - if (nfa_calc_size == FALSE) - { -! // Allocate space for the stack. Max states on the stack: "nstate'. - stack = (Frag_T *)lalloc((nstate + 1) * sizeof(Frag_T), TRUE); -+ if (stack == NULL) -+ return NULL; - stackp = stack; - stack_end = stack + (nstate + 1); - } -*** ../vim-8.1.0640/src/version.c 2018-12-26 21:44:49.815970351 +0100 ---- src/version.c 2018-12-26 21:53:31.975857388 +0100 -*************** -*** 801,802 **** ---- 801,804 ---- - { /* Add new patch number below this line */ -+ /**/ -+ 641, - /**/ - --- -hundred-and-one symptoms of being an internet addict: -53. To find out what time it is, you send yourself an e-mail and check the - "Date:" field. - - /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ -/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ -\\\ an exciting new programming language -- http://www.Zimbu.org /// - \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |