From: Bram Moolenaar Date: Thu, 24 Jan 2013 20:00:20 +0000 (+0100) Subject: updated for version 7.3.783 X-Git-Tag: v7.3.783 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15364d74ca33d8d722483c7b8ebede17f344ab8c;p=vim updated for version 7.3.783 Problem: Crash when mark is not set. (Dominique Pelle) Solution: Check for NULL. --- diff --git a/src/normal.c b/src/normal.c index 3d5b6d817..b7f3dd4f5 100644 --- a/src/normal.c +++ b/src/normal.c @@ -7552,6 +7552,7 @@ nv_gomark(cap) #endif #ifdef FEAT_FOLDING if (cap->oap->op_type == OP_NOP + && pos != NULL && (pos == (pos_T *)-1 || !equalpos(old_cursor, *pos)) && (fdo_flags & FDO_MARK) && old_KeyTyped) diff --git a/src/version.c b/src/version.c index b60be3cd3..cd838d41b 100644 --- a/src/version.c +++ b/src/version.c @@ -725,6 +725,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 783, /**/ 782, /**/