• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IJHack / QtPass / 45595417495
95%

Build:
DEFAULT BRANCH: main
Ran 25 Nov 2026 10:40AM UTC
Jobs 1
Files 87
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Nov 2026 10:29AM UTC coverage: 94.781% (-0.05%) from 94.835%
45595417495

push

github

web-flow
Single instance: socket and lock in the private runtime folder (#2335)

The single-instance segment, its semaphore and the local socket were
named after $USER + "QtPass", and on Linux and BSD those names resolve
into the shared /tmp. Another local user who knows the login name could
create them first: a 0666 segment plus a listening socket made every
launch forward its command line to that user and exit without a
window, and a semaphore left at 0 made every launch hang in attach().

SingleApplication::privateKey() now gives a socket path in
QStandardPaths::RuntimeLocation (0700, refused by Qt when another user
owns it), so nobody else can see or create anything there. The shared
memory segment is gone: a QLockFile next to the socket marks the
listening instance. A free or stale lock (its process gone) is taken
and the instance listens; a lock held by a live instance makes this one
probe its socket, as before; listen() failing releases the lock.
Without a private folder the key is the base plus a random suffix, so
the launch runs as its own instance instead of on a guessable name.
Windows keeps the bare pipe name; its lock sits in the per-user
temporary folder.

Scan: ANT-2026-1JUBRKLZ

Signed-off-by: Anne Jan Brouwer <brouwer@annejan.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

41 of 49 new or added lines in 1 file covered. (83.67%)

10025 of 10577 relevant lines covered (94.78%)

21818.08 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
90.65
-5.64% src/singleapplication.cpp
Jobs
ID Job ID Ran Files Coverage
1 45595417495.1 25 Nov 2026 10:40AM UTC 87
94.78
GitHub Action Run
Source Files on build 45595417495
  • Tree
  • List 87
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45595417495
  • 443b031d on github
  • Prev Build on main (#45586182407)
  • Next Build on main (#45639919625)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc