Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Issue 19551 - corrupt ELF library when using pragma(crt_constructor) #9204

Merged
merged 1 commit into from
Jan 5, 2019

Conversation

rainers
Copy link
Member

@rainers rainers commented Jan 5, 2019

seg_data reused without being reset, this could cause arbitrary cross-talk. In this case, SDassocseg caused data to be written into an unrelated segment

seg_data reused without being reset, this could cause arbitrary cross-talk. In this case, SDassocseg caused data to be written into an unrelated segment
@dlang-bot
Copy link
Contributor

dlang-bot commented Jan 5, 2019

Thanks for your pull request, @rainers!

Bugzilla references

Auto-close Bugzilla Severity Description
19551 critical corrupt ELF library when using pragma(crt_constructor)

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub fetch digger
dub run digger -- build "stable + dmd#9204"

@rainers rainers changed the base branch from master to stable January 5, 2019 13:09
@thewilsonator
Copy link
Contributor

How new is this, i.e. should this target stable?

@wilzbach
Copy link
Member

wilzbach commented Jan 5, 2019

How new is this, i.e. should this target stable?

Yes every non-controversial bug fix should target stable.

https://wiki.dlang.org/DIP75#Branching_strategy

image

@thewilsonator
Copy link
Contributor

Well that solves that problem.

@wilzbach
Copy link
Member

wilzbach commented Jan 5, 2019

Yup and to get the fix back to master, everyone can run merge_stable themselves (though eventually dlang-bot might open up the PR automatically).

@rainers
Copy link
Member Author

rainers commented Jan 5, 2019

How new is this

AFAICT from the history it is a regression in dmd 2.025 ;-)

@WalterBright WalterBright merged commit 9d82a8d into dlang:stable Jan 5, 2019
@thewilsonator
Copy link
Contributor

Wow! That is old!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants