+2
-1
lines changedFilter options
+2
-1
lines changed Original file line number Diff line number Diff line change
@@ -657,7 +657,8 @@ static int qf_get_next_str_line(qfstate_T *state)
657
657
state->linebuf = IObuff;
658
658
state->linelen = len;
659
659
}
660
-
STRLCPY(state->linebuf, p_str, state->linelen + 1);
660
+
memcpy(state->linebuf, p_str, state->linelen);
661
+
state->linebuf[state->linelen] = '\0';
661
662
662
663
// Increment using len in order to discard the rest of the line if it
663
664
// exceeds LINE_MAXLEN.
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4