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

Tatsh / dbeaver-creds / 25095651768 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 29 Apr 2026 07:13AM UTC
Files 2
Run time 0s
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: 77.143% (+0.4%) from 76.699%
25095651768.1

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>

81 of 105 relevant lines covered (77.14%)

3.75 hits per line

Source Files on job native-Linux - 25095651768.1
  • Tree
  • List 2
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25095651768
  • 7e84f12c on github
  • Prev Job for on master (#25095387617.2)
  • Next Job for on master (#25095780584.2)
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