[vim] - patchlevel 739
Karsten Hopp
karsten at fedoraproject.org
Mon Jan 28 11:13:59 UTC 2013
commit d5cd99b5a1f9377c8047d9397e589e0855c7d5db
Author: Karsten Hopp <karsten at redhat.com>
Date: Mon Jan 28 12:11:03 2013 +0100
- patchlevel 739
7.3.739 | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 86 insertions(+), 0 deletions(-)
---
diff --git a/7.3.739 b/7.3.739
new file mode 100644
index 0000000..88a81f3
--- /dev/null
+++ b/7.3.739
@@ -0,0 +1,86 @@
+To: vim_dev at googlegroups.com
+Subject: Patch 7.3.739
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.3.739
+Problem: Computing number of lines may have an integer overflow.
+Solution: Check for MAXCOL explicitly. (Dominique Pelle)
+Files: src/move.c
+
+
+*** ../vim-7.3.738/src/move.c 2012-03-28 14:19:46.000000000 +0200
+--- src/move.c 2012-11-28 18:15:42.000000000 +0100
+***************
+*** 2576,2582 ****
+ else
+ topline_back(lp);
+ h2 = lp->height;
+! if (h2 + h1 > min_height)
+ {
+ *lp = loff0; /* no overlap */
+ return;
+--- 2576,2582 ----
+ else
+ topline_back(lp);
+ h2 = lp->height;
+! if (h2 == MAXCOL || h2 + h1 > min_height)
+ {
+ *lp = loff0; /* no overlap */
+ return;
+***************
+*** 2588,2594 ****
+ else
+ topline_back(lp);
+ h3 = lp->height;
+! if (h3 + h2 > min_height)
+ {
+ *lp = loff0; /* no overlap */
+ return;
+--- 2588,2594 ----
+ else
+ topline_back(lp);
+ h3 = lp->height;
+! if (h3 == MAXCOL || h3 + h2 > min_height)
+ {
+ *lp = loff0; /* no overlap */
+ return;
+***************
+*** 2600,2606 ****
+ else
+ topline_back(lp);
+ h4 = lp->height;
+! if (h4 + h3 + h2 > min_height || h3 + h2 + h1 > min_height)
+ *lp = loff1; /* 1 line overlap */
+ else
+ *lp = loff2; /* 2 lines overlap */
+--- 2600,2606 ----
+ else
+ topline_back(lp);
+ h4 = lp->height;
+! if (h4 == MAXCOL || h4 + h3 + h2 > min_height || h3 + h2 + h1 > min_height)
+ *lp = loff1; /* 1 line overlap */
+ else
+ *lp = loff2; /* 2 lines overlap */
+*** ../vim-7.3.738/src/version.c 2012-11-28 17:41:55.000000000 +0100
+--- src/version.c 2012-11-28 18:16:40.000000000 +0100
+***************
+*** 727,728 ****
+--- 727,730 ----
+ { /* Add new patch number below this line */
++ /**/
++ 739,
+ /**/
+
+--
+From "know your smileys":
+ !-| I-am-a-Cylon-Centurian-with-one-red-eye-bouncing-back-and-forth
+
+ /// Bram Moolenaar -- Bram at 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 ///
More information about the scm-commits
mailing list