Nick Mathewson
|
6317aa2cc0
Merge branch 'maint-0.3.3'
|
6 years ago |
Nick Mathewson
|
d4bf1f6c8e
Add a paranoia check in string_is_valid_nonrfc_hostname()
|
6 years ago |
Nick Mathewson
|
b504c854d3
Rename string_is_valid_hostname -> string_is_valid_nonrfc_hostname
|
6 years ago |
rl1987
|
09351c34e9
Don't strlen before checking for NULL
|
6 years ago |
rl1987
|
a28e350cff
Tweak loop condition
|
6 years ago |
rl1987
|
6b6d003f43
Don't explode on NULL or empty string
|
6 years ago |
rl1987
|
ee1fca727c
Simplify hostname validation code
|
6 years ago |
rl1987
|
dbb7c8e6fd
Validate hostnames with punycode TLDs correctly
|
6 years ago |
rl1987
|
4413e52f9e
Improve handling of trailing dot
|
6 years ago |
rl1987
|
6335db9fce
Refrain from including <ctype.h>
|
6 years ago |
rl1987
|
5986589b48
Call strlen() once
|
6 years ago |
rl1987
|
b0ba4aa7e9
Fix bracketed IPv6 string validation
|
6 years ago |
rl1987
|
1af016e96e
Do not consider IP strings valid DNS names. Fixes #25055
|
6 years ago |
rl1987
|
0e453929d2
Allow IPv6 address strings to be used as hostnames in SOCKS5 requests
|
6 years ago |
Nick Mathewson
|
0eed0899cd
Merge branch 'bug24658-rm-curve25519-header' into bug24658-merge
|
6 years ago |
Deepesh Pathak
|
ca6682f3f8
Fix spelling mistakes corresponding to ticket #23650
|
6 years ago |
Fernando Fernandez Mancera
|
61c7ec29f1
Include crypto_digest.h in order to solve dependency issues.
|
6 years ago |
Nick Mathewson
|
c92ac9f5cb
Convert the rest of src/common's headers to use FREE_AND_NULL
|
7 years ago |
Nick Mathewson
|
35746a9ee7
Comment-only change: annotate exit() calls.
|
7 years ago |
Nick Mathewson
|
a64d79ca4c
Move around some LCOV_EXCLs in src/common
|
7 years ago |
Nick Mathewson
|
76c33f7ff4
Merge branch 'scan-build-032'
|
7 years ago |
Nick Mathewson
|
c1deabd3b0
Run our #else/#endif annotator on our source code.
|
7 years ago |
Nick Mathewson
|
7a597718bb
Split some long #if lines to make the #endif annotator happy
|
7 years ago |
Nick Mathewson
|
9201e4c74b
Merge branch 'bug23487_029'
|
7 years ago |
Nick Mathewson
|
75659fd548
Use different variable names for pw_uid usages
|
7 years ago |
teor
|
42e7d0ea14
Explain the restrictions on divisor in round*_to_next_multiple_of
|
7 years ago |
Nick Mathewson
|
f2f729e26b
Clear up dead-assignment warnings from scan-build
|
7 years ago |
Nick Mathewson
|
a4847ffa91
clang scan-build: Fix "dead increment" warnings.
|
7 years ago |
Nick Mathewson
|
7ee486c15f
Log correctly on owner/user mismatch.
|
7 years ago |
Nick Mathewson
|
1098893e4f
Exit when we can't write to a configured pid file
|
7 years ago |