Mingjie Shen f5a2741ec2 libc/lib_remove: fix TOCTOU race condition
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>
2023-06-29 18:15:06 +08:00
..
2023-02-24 00:35:19 +08:00
2023-05-17 10:24:42 +08:00
2023-02-24 00:35:19 +08:00
2023-05-01 11:24:41 +03:00
2023-04-19 02:48:39 +08:00
2023-05-01 11:24:41 +03:00