Skip to content

libutil: Add overflow check to alignUp#15149

Merged
xokdvium merged 1 commit intomasterfrom
align-up-robustness
Feb 5, 2026
Merged

libutil: Add overflow check to alignUp#15149
xokdvium merged 1 commit intomasterfrom
align-up-robustness

Conversation

@xokdvium
Copy link
Contributor

@xokdvium xokdvium commented Feb 4, 2026

Motivation

Old code with size + (size % 8 ? 8 - (size % 8) : 0) also suffered from this (prior to 22c7386).

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

Old code with size + (size % 8 ? 8 - (size % 8) : 0) also suffered from this.
@xokdvium xokdvium requested a review from edolstra as a code owner February 4, 2026 23:07
@xokdvium xokdvium added the backport 2.33-maintenance Automatically creates a PR against the branch label Feb 4, 2026
@xokdvium xokdvium added this pull request to the merge queue Feb 5, 2026
Merged via the queue into master with commit ecda8c2 Feb 5, 2026
19 checks passed
@xokdvium xokdvium deleted the align-up-robustness branch February 5, 2026 01:38
@internal-nix-ci
Copy link

Successfully created backport PR for 2.33-maintenance:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 2.33-maintenance Automatically creates a PR against the branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants