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

peczenyj / GDPR-IAB-TCFv2
97%
main: 96%

Build:
Build:
LAST BUILD BRANCH: devel
DEFAULT BRANCH: main
Repo Added 06 Dec 2023 12:24PM UTC
Files 18
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

LAST BUILD ON BRANCH fix/bigint-fallback-json-serialization
branch: fix/bigint-fallback-json-serialization
CHANGE BRANCH
x
Reset
  • fix/bigint-fallback-json-serialization
  • add-range-section-cache
  • add-support-to-publisher-tc
  • chore/adopt-mojolicious-perltidyrc
  • chore/cmp-validator-version-coherence
  • chore/compress-test-corpus
  • chore/contributor-quality-of-life
  • chore/declare-min-perl-5.8.9
  • chore/dockerfile-perl-5.42-recommends
  • chore/maintenance-mode-handover
  • chore/normalize-pod-abstracts
  • chore/pod-and-message-cleanup
  • chore/remove-json-array-flag
  • chore/structural-json-asserts
  • devel
  • docs/registry-freshness-roadmap
  • docs/slsa-level-2
  • docs/track-phase-5-cmp-validator
  • feat/cli-bundling
  • feat/cli-cmp-validator-integration
  • feat/cli-color-support
  • feat/cli-dump
  • feat/cli-short-help-and-unknown-subcommand
  • feat/cli-version
  • feat/cmp-validator-http-options
  • feat/docker-distribution
  • feat/docker-latest-tag
  • feat/golden-corpus-validator-scenarios
  • feat/is-v23-deadline-investigation
  • feat/parser-split-and-shortcut
  • feat/perf-optimizations
  • feat/perl-5.10
  • feat/perl-5.12
  • feat/phase-0-core-logic
  • feat/phase-1-tcf-v23-segments
  • feat/phase-1-v23-logic
  • feat/phase-2-validator
  • feat/phase-2-validator-v2
  • feat/phase-3-alignment
  • feat/phase-3-constants-v23-aliases
  • feat/phase-4-bench-and-perf
  • feat/phase-4-performance
  • feat/phase-5-cmp-validator
  • feat/phase-5-cmp-validator-redux
  • feat/phase-6.1-validator-reason
  • feat/phase-6.2-validator-failure
  • feat/phase-6.3-tcf-carve-out
  • feat/phase-6.4-publisher-restriction-reasons
  • feat/phase-6.5-per-call-overrides
  • feat/quality-refinement
  • feat/roadmap-modernization
  • feat/slsa-level-1
  • feat/test-synopsis
  • feat/todo-validator-strict-legal-basis-coupling
  • feat/todo-validator-strict-legal-basis-scope
  • feat/validator-go-alignment
  • fix-but-index-out-of-bonds-while-parsing-range-based-consent-strings
  • fix/cli-concise-errors
  • fix/cli-error-formatting
  • fix/cli-vendor-id-shadowed-by-version
  • fix/final-review-refinements
  • fix/golden-mem
  • fix/json-regex-key-order-tests
  • fix/optional-cmp-deps
  • fix/perl-5.8-defined-or-syntax
  • fix/pod-files-installed-as-modules
  • fix/post-release-audit
  • fix/publisher-restrictions-boundary-check
  • fix/release-workflow
  • fix/restore-cli-version-option
  • fix/restore-pause-indexation-v0.401
  • fix/uint36-timestamp-32bit-perl
  • fix/use-test-warn
  • fix/vendor-segment-parser-cleanup
  • main
  • refactor-publisher-restrictions
  • refactor-range-section
  • refactor/cmp-validator-rename
  • refactor_bitfield
  • release/0.100
  • release/0.200
  • release/0.350
  • release/0.380
  • release/0.400
  • release/0.401
  • release/0.510
  • release/0.511
  • release/0.512
  • release/0.520
  • release/v0.083
  • release/v0.400
  • v0.06
  • v0.07
  • v0.08
  • v0.081
  • v0.082
  • v0.083
  • v0.084
  • v0.100
  • v0.200
  • v0.201
  • v0.202
  • v0.203
  • v0.300
  • v0.320
  • v0.330
  • v0.340
  • v0.350
  • v0.351
  • v0.352
  • v0.360
  • v0.370
  • v0.380
  • v0.390
  • v0.391
  • v0.400
  • v0.401
  • v0.500
  • v0.510
  • v0.511
  • v0.512
  • v0.520
  • vv0.083

06 May 2026 10:30AM UTC coverage: 97.388% (+0.9%) from 96.517%
25430604430

Pull #46

github

peczenyj
fix: coerce Math::BigInt fallback values to plain scalars in BitUtils

On Perls without pack 'Q>' / 'S>' (e.g. Perl 5.8.9 on FreeBSD 9.2,
per CPAN Testers report 281cd334-...), get_uint12 / get_uint16 /
get_uint36 fall back to Math::BigInt and return blessed objects.
Those blessed values flowed straight through TO_JSON and made the
CLI's JSON encoder croak with:

  encountered object 'Math::BigInt=HASH(...)' but neither
  allow_blessed, convert_blessed nor allow_tags settings are enabled

Fix at the BitUtils boundary by calling ->numify on the BigInt
result.  16 bits always fits in an IV; 36 bits fits exactly in an
NV's 53-bit mantissa (covers all TCF v2 timestamps through ~2148).

Promote $CAN_PACK_QUADS / $CAN_FORCE_BIG_ENDIAN from `my` to `our`
so the new t/12-bigint-fallback.t can `local`-override them and
exercise the BigInt path on any Perl.
Pull Request #46: fix: coerce Math::BigInt fallback to plain scalars (Perl 5.8 CPAN Testers FAIL)

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

671 of 689 relevant lines covered (97.39%)

12742.96 hits per line

Relevant lines Covered
Build:
Build:
689 RELEVANT LINES 671 COVERED LINES
12742.96 HITS PER LINE
Source Files on fix/bigint-fallback-json-serialization
  • Tree
  • List 11
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
25430604430 fix/bigint-fallback-json-serialization fix: coerce Math::BigInt fallback values to plain scalars in BitUtils On Perls without pack 'Q>' / 'S>' (e.g. Perl 5.8.9 on FreeBSD 9.2, per CPAN Testers report 281cd334-...), get_uint12 / get_uint16 / get_uint36 fall back to Math::BigInt and ret... Pull #46 06 May 2026 10:50AM UTC peczenyj github
97.39
25430565846 fix/bigint-fallback-json-serialization Revert "ci: add Perl 5.8.9 to Linux matrix to lock in the BigInt fallback fix" This reverts commit 859edb12c. push 06 May 2026 10:49AM UTC peczenyj github
97.39
25430354451 fix/bigint-fallback-json-serialization ci: add Perl 5.8.9 to Linux matrix to lock in the BigInt fallback fix 5.8.9 is the version flagged by CPAN Testers report 281cd334-... which surfaced the Math::BigInt-leak-into-JSON regression fixed in the previous commit. Pinning the exact vers... push 06 May 2026 10:44AM UTC peczenyj github
97.39
25430009393 fix/bigint-fallback-json-serialization fix: coerce Math::BigInt fallback values to plain scalars in BitUtils On Perls without pack 'Q>' / 'S>' (e.g. Perl 5.8.9 on FreeBSD 9.2, per CPAN Testers report 281cd334-...), get_uint12 / get_uint16 / get_uint36 fall back to Math::BigInt and ret... Pull #46 06 May 2026 10:36AM UTC peczenyj github
97.39
See All Builds (549)
  • Repo on GitHub
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