diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-12-01 12:08:31 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-12-07 17:34:16 +0100 |
commit | f05d34988719b22ef5c64888f90b4c8f3a2c7931 (patch) | |
tree | caf39100cf1aa4cf7c1447908c5d6fd429c8ea70 /.travis.yml | |
parent | 16fff802574159286e424802442551dc9eba9098 (diff) |
gui: Fix proxy setting options dialog crash
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.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions