| To: vim_dev@googlegroups.com |
| Subject: Patch 7.4.816 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.4.816 |
| Problem: Invalid memory access when doing ":fun X(". |
| Solution: Check for missing ')'. (Dominique Pelle) |
| Files: src/eval.c |
| |
| |
| |
| |
| |
| *** 22557,22562 **** |
| --- 22557,22564 ---- |
| break; |
| } |
| } |
| + if (*p != ')') |
| + goto erret; |
| ++p; /* skip the ')' */ |
| |
| /* find extra arguments "range", "dict" and "abort" */ |
| |
| |
| |
| *** 743,744 **** |
| --- 743,746 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 816, |
| /**/ |
| |
| -- |
| Individualists unite! |
| |
| /// 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 /// |