Skip to content

Conversation

@sipa
Copy link
Member

@sipa sipa commented Feb 17, 2017

This removes this warning in some G++ versions:

httprpc.cpp: In function ‘bool HTTPReq_JSONRPC(HTTPRequest*, const string&)’:
httprpc.cpp:150:13: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector]
 static bool HTTPReq_JSONRPC(HTTPRequest* req, const std::string &)
             ^~~~~~~~~~~~~~~

@sipa sipa changed the title Make KEY_SIZE a compile-time constant Avoid variable length arrays Feb 17, 2017
@theuni
Copy link
Member

theuni commented Feb 17, 2017

utACK c801c82

@luke-jr
Copy link
Member

luke-jr commented Feb 17, 2017

utACK

@laanwj
Copy link
Member

laanwj commented Feb 17, 2017

utACK c801c82

@laanwj laanwj merged commit c801c82 into bitcoin:master Feb 17, 2017
laanwj added a commit that referenced this pull request Feb 17, 2017
c801c82 Move BIP70_MAX_PAYMENTREQUEST_SIZE to header (Pieter Wuille)
914fad1 Make KEY_SIZE a compile-time constant (Pieter Wuille)
Copy link
Contributor

@gmaxwell gmaxwell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

laanwj pushed a commit that referenced this pull request Feb 17, 2017
laanwj pushed a commit that referenced this pull request Feb 17, 2017
codablock pushed a commit to codablock/dash that referenced this pull request Jan 26, 2018
c801c82 Move BIP70_MAX_PAYMENTREQUEST_SIZE to header (Pieter Wuille)
914fad1 Make KEY_SIZE a compile-time constant (Pieter Wuille)
lateminer pushed a commit to lateminer/bitcoin that referenced this pull request Jan 3, 2019
andvgal pushed a commit to energicryptocurrency/gen2-energi that referenced this pull request Jan 6, 2019
c801c82 Move BIP70_MAX_PAYMENTREQUEST_SIZE to header (Pieter Wuille)
914fad1 Make KEY_SIZE a compile-time constant (Pieter Wuille)
CryptoCentric pushed a commit to absolute-community/absolute that referenced this pull request Feb 27, 2019
@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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants