diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-12-07 17:40:01 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-12-07 17:40:11 +0100 |
commit | 80f9dad0b79973355623fc075f82f80d6271540c (patch) | |
tree | a519717941a26224f9c1cb0f191f32661c78321b /.travis.yml | |
parent | 3e500241200282eb475709e9e85c54ebcc92eaf5 (diff) | |
parent | f05d34988719b22ef5c64888f90b4c8f3a2c7931 (diff) | |
download | bitcoin-80f9dad0b79973355623fc075f82f80d6271540c.tar.xz |
Merge #11809: gui: Fix proxy setting options dialog crash
f05d349 gui: Fix proxy setting options dialog crash (Wladimir J. van der Laan)
Pull request description:
This fixes a crash bug when opening the options dialog.
- Check the return value of split() to avoid segmentation faults due to out of bounds when the user manages to enter invalid proxy settings. This is reported resonably often.
- Move the default proxy/port to a constant instead of hardcoding magic values.
- Factor out some common code.
- Revert #11448 because this proves a more robust replacement, it is no longer necessary and didn't generally solve the issue.
No attempt is made to do full sanity checking on the proxy, so it can still be rejected by the core with an InitError message.
Tree-SHA512: 72b700b7d6c4d3e3410f0c60e9e4facf93d7c6c1a1b6b23957c48b074a045970f518166952859d1ebca8620062cb70d222670a7310bbd6fe50550ec6d04417b5
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions