Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

fix: use valid ptr instead of its value - #68

Open
yizishun wants to merge 1 commit into
rustsbi:mainfrom
yizishun:main
Open

fix: use valid ptr instead of its value#68
yizishun wants to merge 1 commit into
rustsbi:mainfrom
yizishun:main

Conversation

@yizishun

Copy link
Copy Markdown

the ptr and the end is not the addr of sbss and ebss, but its value

so previous code is actually accessing an invalid addr(probably 0)

cc @woshiluo, thx

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant