}
p_realloc(&curline, curline_len + buf_len - buf_off);
- strcpy (curline + curline_len - 1, buf + buf_off);
+ m_strcpy(curline + curline_len - 1, buf_len - buf_off + 1, buf + buf_off);
curline_len += buf_len - buf_off;
/* if this was a fixed line the paragraph is finished */