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

safe-global / safe-modules / 6955806863
85%

Build:
DEFAULT BRANCH: master
Ran 22 Nov 2023 10:12AM UTC
Jobs 1
Files 3
Run time 1s
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

22 Nov 2023 10:11AM UTC coverage: 100.0%. Remained the same
6955806863

push

github

web-flow
Fix Revert message propagation (#163)

This PR fixes a revert message propagation issue where the length of
revert bytes was the **offset** of the return data in memory and not its
actual length 🤦. It turns out that because of how ABI encoding works,
the tests were not catching this issue since in that particular test the
offset was alway larger than the actual length of the revert message. In
theory, this is UB (as the offset it not guaranteed to be larger than
the message, although, in practice it is not a serious issue, as it
appears the compiler is allocating memory for the raw `call` result and
then **copying with a loop** the ABI-decoded `returnData` memory bytes
after it, so the offset of `returnData` will always be greater than its
size, and the current implementation just returns too many bytes).

Adjusted tests to ensure the exact revert data is propagated.

22 of 22 branches covered (100.0%)

Branch coverage included in aggregate %.

27 of 27 relevant lines covered (100.0%)

19.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6955806863.1 22 Nov 2023 10:12AM UTC 0
100.0
GitHub Action Run
Source Files on build 6955806863
Detailed source file information is not available for this build.
  • Back to Repo
  • 307a3b47 on github
  • Prev Build on master (#6955799953)
  • Next Build on master (#6955869444)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc