File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -919,7 +919,7 @@ qf_parse_line(
919919 }
920920 if (fmt_ptr -> flags == '+' && !qi -> qf_multiscan ) /* %+ */
921921 {
922- if (linelen > fields -> errmsglen )
922+ if (linelen >= fields -> errmsglen )
923923 {
924924 /* linelen + null terminator */
925925 if ((fields -> errmsg = vim_realloc (fields -> errmsg ,
@@ -934,7 +934,7 @@ qf_parse_line(
934934 if (regmatch .startp [i ] == NULL || regmatch .endp [i ] == NULL )
935935 continue ;
936936 len = (int )(regmatch .endp [i ] - regmatch .startp [i ]);
937- if (len > fields -> errmsglen )
937+ if (len >= fields -> errmsglen )
938938 {
939939 /* len + null terminator */
940940 if ((fields -> errmsg = vim_realloc (fields -> errmsg , len + 1 ))
@@ -1017,7 +1017,7 @@ qf_parse_line(
10171017 fields -> namebuf [0 ] = NUL ; /* no match found, remove file name */
10181018 fields -> lnum = 0 ; /* don't jump to this line */
10191019 fields -> valid = FALSE;
1020- if (linelen > fields -> errmsglen )
1020+ if (linelen >= fields -> errmsglen )
10211021 {
10221022 /* linelen + null terminator */
10231023 if ((fields -> errmsg = vim_realloc (fields -> errmsg ,
Original file line number Diff line number Diff line change @@ -764,6 +764,8 @@ static char *(features[]) =
764764
765765static int included_patches [] =
766766{ /* Add new patch number below this line */
767+ /**/
768+ 597 ,
767769/**/
768770 596 ,
769771/**/
You can’t perform that action at this time.
0 commit comments