Skip to content

tests: rewrite xbps-fetch tests to use atf_check

328f569
Select commit
Loading
Failed to load commit list.
Open

lib: add file locking to downloads #675

tests: rewrite xbps-fetch tests to use atf_check
328f569
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed Feb 17, 2026 in 2s

1 new alert including 1 high severity security vulnerability

New alerts in code changed by this pull request

Security Alerts:

  • 1 high

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 221 in lib/download.c

See this annotation in the file changed.

Code scanning / CodeQL

Time-of-check time-of-use filesystem race condition High

The
filename
being operated upon was previously
checked
, but the underlying file may have been changed since then.
The
filename
being operated upon was previously
checked
, but the underlying file may have been changed since then.

Check warning on line 392 in lib/download.c

See this annotation in the file changed.

Code scanning / CodeQL

Comparison result is always the same Warning

Comparison is always true because lockfd >= 0.