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

Tatsh / dbeaver-creds / 25095651768
100%

Build:
DEFAULT BRANCH: master
Ran 29 Apr 2026 07:10AM UTC
Jobs 2
Files 3
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

29 Apr 2026 07:09AM UTC coverage: 81.538% (+0.3%) from 81.25%
25095651768

push

github

Tatsh
tests: skip --wrap target on Apple, validate cipher_len in backends

Two cross-platform fixes the Tests CI surfaced:

- **Apple's ld64 does not implement GNU `--wrap`.** The Tests run on
  `macos-latest` failed with `ld: unknown options:
  --wrap=dbc_decrypt_aes_128_cbc`. Gate the `test_api_mock` target on
  `NOT APPLE` in `tests/CMakeLists.txt` so macOS builds skip it; the
  other two test executables (`test_backend`, `test_api`) don't use
  `--wrap` and continue to run on every supported platform.
- **`test_rejects_zero_length` failed under BCrypt on Windows MinGW.**
  `dbc_decrypt_aes_128_cbc` was supposed to reject `cipher_len == 0`,
  but only the macOS (CommonCrypto) backend short-circuited. OpenSSL's
  `EVP_DecryptUpdate` happens to fail at finalisation when the input
  is empty (so the test was passing on Linux by accident), and BCrypt
  silently returns success with `out_len == 0`. Add an explicit
  `if (cipher_len == 0 || cipher_len % 16 != 0) return -1;` guard at
  the top of `src/openssl.c` and `src/win32.c` so the contract is
  uniform across all three backends.

Signed-off-by: Andrew Udvare <audvare@gmail.com>

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

106 of 130 relevant lines covered (81.54%)

3.24 hits per line

Jobs
ID Job ID Ran Files Coverage
1 native-Linux - 25095651768.1 29 Apr 2026 07:10AM UTC 2
77.14
GitHub Action Run
2 pwsh - 25095651768.2 29 Apr 2026 07:09AM UTC 1
100.0
GitHub Action Run
Source Files on build 25095651768
  • Tree
  • List 3
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25095651768
  • 7e84f12c on github
  • Prev Build on master (#25095387617)
  • Next Build on master (#25095780584)
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