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

Added a workaround for an Ubuntu bug which causes -fstack-protector-all t #586

Merged
merged 1 commit into from Oct 24, 2011
Merged

Added a workaround for an Ubuntu bug which causes -fstack-protector-all t #586

merged 1 commit into from Oct 24, 2011

Conversation

cjdelisle
Copy link

Added a workaround for an Ubuntu bug which causes -fstack-protector-all to be disregarded.
this causes some functions not to be protected and leads to a warning:
"warning: not protecting function: no buffer at least 8 bytes long"
The bug which this is working around: https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/691722

@gmaxwell
Copy link
Contributor

This looks completely reasonable to me. On non-broken systems it will be a no-op, so the workaround can remain indefinitely with no cost... and only get dropped when someone gets around to reviewing the hardening settings at some point in the future.

I don't have a broken ubuntu system to try this on, but I can confirm that its harmless on F14's GCC 4.5.1.

@TheBlueMatt
Copy link
Contributor

ACK

@laanwj
Copy link
Member

laanwj commented Oct 17, 2011

ACK, makefiles can never have enough hacks and workarounds :-)

@alexwaters
Copy link
Contributor

ACK

gavinandresen added a commit that referenced this pull request Oct 24, 2011
Added a workaround for an Ubuntu bug which causes -fstack-protector-all t
@gavinandresen gavinandresen merged commit d760b5c into bitcoin:master Oct 24, 2011
coblee referenced this pull request in litecoin-project/litecoin Jul 17, 2012
Added a workaround for an Ubuntu bug which causes -fstack-protector-all t
ptschip pushed a commit to ptschip/bitcoin that referenced this pull request May 17, 2017
kallewoof pushed a commit to kallewoof/bitcoin that referenced this pull request Oct 4, 2019
…t it already blinded

b08fcb1 RawFillBlinds needs to push blank pubkeys if output it already blinded (Gregory Sanders)

Pull request description:

Tree-SHA512: 7b6f718f00d01cfdfae698c89c7c1ba5d09c7624a27cce4bc1a3d6ea9ceebd03684da1c867fec6ac22f4520e0afaa2bd934bfda979402cc3364750b1dd98af70
rajarshimaitra pushed a commit to rajarshimaitra/bitcoin that referenced this pull request Aug 5, 2021
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants