FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-134070: Fix mi_clz32/mi_ctz32 to prevent out-of-bounds read (GH-134149) by vedant713 · Pull Request #134157 · python/cpython · GitHub

/ cpython Public

gh-134070: Fix mi_clz32/mi_ctz32 to prevent out-of-bounds read (GH-134149) - #134157

Closed
vedant713 wants to merge 6 commits into
python:mainfrom
vedant713:main
Closed

gh-134070: Fix mi_clz32/mi_ctz32 to prevent out-of-bounds read (GH-134149)#134157
vedant713 wants to merge 6 commits into
python:mainfrom
vedant713:main

Conversation

vedant713 commented May 17, 2025
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown

Fixed an out-of-bounds read in the generic implementation of mi_clz32 and mi_ctz32 in the integrated mimalloc allocator.
This issue could occur on platforms with 64-bit unsigned long values.

The fix follows the approach from the upstream patch in microsoft/mimalloc:
microsoft/mimalloc@ed3184752c80f73e362

picnixz commented May 17, 2025

Copy link
Copy Markdown
Member

Please do not open multiple PRs. Close either of the two.

picnixz marked this pull request as draft May 17, 2025 20:18

This comment was marked as resolved.

picnixz commented May 17, 2025

Copy link
Copy Markdown
Member

I'm going to close this one: see #134149 (comment).

picnixz closed this May 17, 2025

Copy link
Copy Markdown
Author

I'm sorry for this,fresh contributor still learning!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL