[PATCH] app/wycheproof: avoid path check before opening vectors

Thomas Monjalon thomas at monjalon.net
Thu Nov 19 02:36:07 CET 2026


17/11/2026 16:49, Kai Ji:
> Checking the vector path with stat() before opening it leaves a
> check/use race if the path changes between the two operations.
> 
> Open the directory directly and fall back to file processing only
> when opendir() fails with ENOTDIR. Propagate other directory-open
> errors and remove the unused stat header.
> 
> Coverity issue: 360736
> 
> Signed-off-by: Kai Ji <kai.ji at intel.com>

Applied, thanks.





More information about the dev mailing list