Skip to content

nut-scanner: fix mutex release in failure code path - #3551

Open
jimklimov wants to merge 2 commits into
networkupstools:masterfrom
jimklimov:issue-3551
Open

nut-scanner: fix mutex release in failure code path#3551
jimklimov wants to merge 2 commits into
networkupstools:masterfrom
jimklimov:issue-3551

Conversation

@jimklimov

@jimklimov jimklimov commented Jul 28, 2026

Copy link
Copy Markdown
Member

Caught by clang-19 and clang-22 static analysis on FreeBSD 15.1, confirmed and fixed by Copilot in GitHub codespaces.
Impacts probably all 2.8.x releases until latest 2.8.5.

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
@jimklimov jimklimov added this to the 2.8.6 milestone Jul 28, 2026
@jimklimov jimklimov added bug nut-scanner portability We want NUT to build and run everywhere possible impacts-release-2.8.0 Issues reported against NUT release 2.8.0 (maybe vanilla or with minor packaging tweaks) impacts-release-2.8.1 Issues reported against NUT release 2.8.1 (maybe vanilla or with minor packaging tweaks) impacts-release-2.8.2 Issues reported against NUT release 2.8.2 (maybe vanilla or with minor packaging tweaks) impacts-release-2.8.3 Issues reported against NUT release 2.8.3 (maybe vanilla or with minor packaging tweaks) impacts-release-2.8.4 Issues reported against NUT release 2.8.4 (maybe vanilla or with minor packaging tweaks) AI For good or bad, machine tools are upon us. Humans are still the responsible ones. impacts-release-2.8.5 Issues reported against NUT release 2.8.5 (maybe vanilla or with minor packaging tweaks) Hardening Ideas and implems to make NUT deployments more robust and secure (relaxed convenience may suffer) labels Jul 28, 2026
@github-actions

github-actions Bot commented Jul 28, 2026

Copy link
Copy Markdown

A ZIP file with standard source tarball and another tarball with pre-built docs for commit df0d753 is temporarily available: NUT-tarballs-PR-3551.zip.

jimklimov added a commit to jimklimov/nut that referenced this pull request Jul 28, 2026
…ode path [networkupstools#3551]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
@AppVeyorBot

Copy link
Copy Markdown

@AppVeyorBot

Copy link
Copy Markdown

@AppVeyorBot

Copy link
Copy Markdown

…se in failure code path [networkupstools#3551]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
@AppVeyorBot

Copy link
Copy Markdown

Build nut 2.8.5.5003-master completed (commit c917156a60 by @jimklimov)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI For good or bad, machine tools are upon us. Humans are still the responsible ones. bug Hardening Ideas and implems to make NUT deployments more robust and secure (relaxed convenience may suffer) impacts-release-2.8.0 Issues reported against NUT release 2.8.0 (maybe vanilla or with minor packaging tweaks) impacts-release-2.8.1 Issues reported against NUT release 2.8.1 (maybe vanilla or with minor packaging tweaks) impacts-release-2.8.2 Issues reported against NUT release 2.8.2 (maybe vanilla or with minor packaging tweaks) impacts-release-2.8.3 Issues reported against NUT release 2.8.3 (maybe vanilla or with minor packaging tweaks) impacts-release-2.8.4 Issues reported against NUT release 2.8.4 (maybe vanilla or with minor packaging tweaks) impacts-release-2.8.5 Issues reported against NUT release 2.8.5 (maybe vanilla or with minor packaging tweaks) nut-scanner portability We want NUT to build and run everywhere possible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants