Skip to content

fix(guestfs-tools): disable legacy malloc checking - #18715

Draft
Tobias Brick (tobiasb-ms) wants to merge 1 commit into
microsoft:4.0from
tobiasb-ms:tobiasb-ms/bug-23502-guestfs-tools
Draft

fix(guestfs-tools): disable legacy malloc checking#18715
Tobias Brick (tobiasb-ms) wants to merge 1 commit into
microsoft:4.0from
tobiasb-ms:tobiasb-ms/bug-23502-guestfs-tools

Conversation

@tobiasb-ms

@tobiasb-ms Tobias Brick (tobiasb-ms) commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Removes glibc's legacy checked allocator from the guestfs-tools test wrapper because it splits SymCrypt allocations across libc and malloc-debug. Retains malloc perturbation and the full test suite.

AB#23502

Validation: stage2-prod package build passes with %check enabled.

Copilot AI balanced review requested due to automatic review settings September 4, 2026 18:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The overlay lacks required metadata, and mandatory RPM inspection and smoke-test validation are not documented.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Disables glibc’s legacy malloc checker for guestfs-tools tests while retaining allocator perturbation and %check.

Changes:

  • Adds and applies the allocator compatibility patch.
  • Refreshes rendered spec release and component lock.
File summaries
File Description
base/comps/guestfs-tools/guestfs-tools.comp.toml Registers the new overlay.
base/comps/guestfs-tools/0002-tests-disable-glibc-malloc-check.patch Defines the source patch.
specs/g/guestfs-tools/guestfs-tools.spec Adds the rendered patch reference and release bump.
specs/g/guestfs-tools/0002-tests-disable-glibc-malloc-check.patch Contains the rendered patch.
locks/guestfs-tools.lock Refreshes the input fingerprint.
Review details
  • Files reviewed: 4/5 changed files
  • Comments generated: 2
  • Review effort level: Balanced

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread base/comps/guestfs-tools/guestfs-tools.comp.toml
Comment thread base/comps/guestfs-tools/guestfs-tools.comp.toml
Copilot AI review requested due to automatic review settings September 4, 2026 18:52
Remove the checked allocator because it splits SymCrypt allocations across libc and malloc-debug. Retain malloc perturbation and the full test suite, and classify the overlay as an AZL-only workaround.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@tobiasb-ms
Tobias Brick (tobiasb-ms) force-pushed the tobiasb-ms/bug-23502-guestfs-tools branch from 583a509 to 0991897 Compare September 4, 2026 18:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The focused overlay is correctly rendered, locked, and validated through the affected %check path.

Review details
  • Files reviewed: 4/5 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

Copilot AI review requested due to automatic review settings September 4, 2026 18:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The targeted workaround is synchronized across component inputs, rendered output, and lock state, with the affected %check path validated.

Review details
  • Files reviewed: 4/5 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

@tobiasb-ms

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants