Skip to content

mach: read_string: don't read unreadable memory - #250

Merged
gabrielesvelto merged 1 commit into
rust-minidump:mainfrom
schopin-mozilla:macos-read-string
Oct 26, 2026
Merged

gabrielesvelto merged 1 commit into
rust-minidump:mainfrom
schopin-mozilla:macos-read-string

Conversation

@schopin-mozilla

Copy link
Copy Markdown
Collaborator

On my system, when trying to read the process exec path from the stack, it would systematically fail because it would include a guard page that sits right after the stack.

On my system, when trying to read the process exec path from the stack,
it would systematically fail because it would include a guard page that
sits right after the stack.
@schopin-mozilla

Copy link
Copy Markdown
Collaborator Author

I think this might fix the issue that made us skip the CI on this test.

@schopin-mozilla
schopin-mozilla marked this pull request as ready for review October 26, 2026 11:49

@gabrielesvelto gabrielesvelto 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.

LGTM

@gabrielesvelto
gabrielesvelto merged commit 63ccf8a into rust-minidump:main Oct 26, 2026
20 checks passed
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