2/3

tools/mm: terminate the record buffer before matching the timestamp

add_list() 复制记录后未先写终止符就让 regexec() 匹配时间戳,导致堆越界;改为 memcpy 后立即置 NUL,删除模式后仍保留终止符。