Separately checking the state of a file before operating on it may allow an attacker to modify the file between the two operations. Reference: CWE-367 4290aed051/sysdeps/posix/remove.c (L29-L41) Signed-off-by: Mingjie Shen <shen497@purdue.edu>
4290aed051/sysdeps/posix/remove.c (L29-L41)