← Commit list

41660c5b2

Denis Vlasenko
Denis Vlasenko
2008-07-22
FAILED Duration: 21s

Subject

another overlapping_strcpy

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

libbb/lineedit.c+1 -1
@@ -345,7 +345,7 @@ static void input_delete(int save)
}
#endif
- strcpy(command_ps + j, command_ps + j + 1);
+ overlapping_strcpy(command_ps + j, command_ps + j + 1);
command_len--;
input_end(); /* rewrite new line */
cmdedit_set_out_char(' '); /* erase char */