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

hyperledger-labs / fabric-smart-client / 36312182522
92%

Build:
DEFAULT BRANCH: main
Ran 27 Sep 2026 10:22AM UTC
Jobs 22
Files 503
Run time 2min
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

27 Sep 2026 10:19AM UTC coverage: 86.495% (+0.04%) from 86.452%
36312182522

push

github

web-flow
fix(fabric): guard the rwset envelope unpacker against a malformed transaction envelope (#1898)

UnpackEnvelopeFromPayloadAndCHHeader (rwset/envelope.go) indexed
tx.Actions[0] and cis.ChaincodeSpec.Input.Args[0], and dereferenced
cis.ChaincodeSpec, cis.ChaincodeSpec.Input, cis.ChaincodeSpec.ChaincodeId
and actionPayload.Action, without checking any of them first.
UnpackEnvelope dereferenced payl.Header the same way. All of this is
peer-supplied data reached from block processing through
Committer.filterUnknownEnvelope, so a single malformed
ENDORSER_TRANSACTION envelope crashed the committer.

The sibling transaction.UnpackEnvelopePayload has the identical shape but
already guards every one of these cases. Port the same guards here,
returning an error instead of panicking.

Cover every malformed shape (nil header, no actions, nil ChaincodeSpec/
Input/ChaincodeId, empty Args, nil Action) with unit tests, and document
the validation UnpackEnvelope/UnpackEnvelopeFromPayloadAndCHHeader now
perform on untrusted input.

Fixes #1896

Signed-off-by: Marcus Brandenburger <bur@zurich.ibm.com>

21 of 21 new or added lines in 1 file covered. (100.0%)

8 existing lines in 4 files now uncovered.

27765 of 32100 relevant lines covered (86.5%)

2698.5 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
86.43
0.0% platform/view/services/comm/host/websocket/ws/multiplexed_provider.go
2
92.23
-1.04% platform/fabricx/core/membership/membership.go
1
87.5
-2.08% platform/fabric/events.go
1
91.42
0.66% platform/view/services/comm/p2p.go
Jobs
ID Job ID Ran Files Coverage
1 itest-fsc-signedpingpong - 36312182522.1 27 Sep 2026 10:22AM UTC 240
31.62
GitHub Action Run
2 utest-extensions - 36312182522.2 27 Sep 2026 10:22AM UTC 8
52.57
GitHub Action Run
3 itest-fabric-runtimeconfig - 36312182522.3 27 Sep 2026 10:24AM UTC 459
38.87
GitHub Action Run
4 itest-fabric-atsachaincode - 36312182522.4 27 Sep 2026 10:24AM UTC 454
30.95
GitHub Action Run
5 itest-fabricx-multiendorsement - 36312182522.5 27 Sep 2026 10:22AM UTC 481
28.42
GitHub Action Run
6 itest-fabric-twonets - 36312182522.6 27 Sep 2026 10:24AM UTC 449
29.23
GitHub Action Run
7 itest-fabricx-simple - 36312182522.7 27 Sep 2026 10:22AM UTC 481
27.8
GitHub Action Run
8 itest-fabric-iou-libp2p - 36312182522.8 27 Sep 2026 10:24AM UTC 459
36.56
GitHub Action Run
9 itest-fabric-configupdate - 36312182522.9 27 Sep 2026 10:24AM UTC 459
38.93
GitHub Action Run
10 itest-fabric-stoprestart - 36312182522.10 27 Sep 2026 10:25AM UTC 449
31.24
GitHub Action Run
11 itest-fsc-pingpong - 36312182522.11 27 Sep 2026 10:23AM UTC 245
34.7
GitHub Action Run
12 itest-fabricx-iou - 36312182522.12 27 Sep 2026 10:22AM UTC 481
29.24
GitHub Action Run
13 utest-postgres - 36312182522.13 27 Sep 2026 10:23AM UTC 494
9.75
GitHub Action Run
14 itest-fabric-iou - 36312182522.14 27 Sep 2026 10:26AM UTC 459
40.46
GitHub Action Run
15 itest-fabric-iouhsm - 36312182522.15 27 Sep 2026 10:25AM UTC 459
39.74
GitHub Action Run
16 itest-fabricx-deployment - 36312182522.16 27 Sep 2026 10:22AM UTC 481
28.4
GitHub Action Run
17 itest-fabricx-atsa - 36312182522.17 27 Sep 2026 10:22AM UTC 481
30.7
GitHub Action Run
18 itest-fabric-events - 36312182522.18 27 Sep 2026 10:25AM UTC 454
29.06
GitHub Action Run
19 itest-fabric-atsa - 36312182522.19 27 Sep 2026 10:24AM UTC 449
43.66
GitHub Action Run
20 itest-fabricx-configupdate - 36312182522.20 27 Sep 2026 10:23AM UTC 481
28.4
GitHub Action Run
21 utest-root - 36312182522.21 27 Sep 2026 10:24AM UTC 494
83.43
GitHub Action Run
22 itest-fsc-stoprestart - 36312182522.22 27 Sep 2026 10:23AM UTC 241
33.54
GitHub Action Run
Source Files on build 36312182522
  • Tree
  • List 503
  • Changed 32
  • Source Changed 1
  • Coverage Changed 32
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36312182522
  • be9dac73 on github
  • Prev Build on main (#36311595292)
  • Next Build on main (#36315020518)
  • Delete
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