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

IJHack / QtPass / 45670038354
95%

Build:
DEFAULT BRANCH: main
Ran 25 Nov 2026 06:10PM 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 05:56PM UTC coverage: 94.806% (-0.007%) from 94.813%
45670038354

push

github

web-flow
Executor: keep the first and last 32 KiB of a command's stderr (#2337)

Both the queued and the blocking path read stderr whole once the
command ended, with no bound. gpg writes a line per packet it rejects
and Git one per ref, so an entry or a repository someone else made
could fill gigabytes, held in memory and then shown in the output pane.

Executor::CappedOutput keeps the first and the last kMaxStderrBytes / 2
(64 KiB in all), with a line saying how many bytes were left out
between; the cuts fall on whole UTF-8 characters. Both paths read
stderr as it arrives, so it does not pile up in QProcess's buffer, and
stdout nobody asked for is read and dropped the same way. Wanted stdout
is kept whole: a decrypt must be lossless, and gpg's --max-output
bounds it.

What decides on gpg's records no longer reads the capped text:
CappedOutput counts complete "[GNUPG:]" lines by keyword as they
arrive, the Executor hands the counts on through lastStatusCounts(),
and RealPass judges a re-encryption by them, so a large store's
END_ENCRYPTION lines are all counted. ImitatePass::getKeysFromFile()
lists an entry's recipients from gpg's ENC_TO status lines on stdout
(--status-fd=1), read whole, instead of its -v messages on stderr.

Scan: ANT-2026-VQGRD45V

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

117 of 120 new or added lines in 4 files covered. (97.5%)

3 existing lines in 1 file now uncovered.

10131 of 10686 relevant lines covered (94.81%)

21942.38 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
96.06
0.12% src/executor.cpp

Coverage Regressions

Lines Coverage ∆ File
3
94.24
-2.16% src/nativegrep.cpp
Jobs
ID Job ID Ran Files Coverage
1 45670038354.1 25 Nov 2026 06:10PM UTC 87
94.81
GitHub Action Run
Source Files on build 45670038354
  • Tree
  • List 87
  • Changed 6
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45670038354
  • a90b8a97 on github
  • Prev Build on main (#45639919625)
  • Next Build on main (#45694505126)
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