mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Merge remote-tracking branch 'origin/maint-0.2.3'
This commit is contained in:
commit
7e1a0bb24e
3
changes/bug6218
Normal file
3
changes/bug6218
Normal file
@ -0,0 +1,3 @@
|
||||
o Minor bugfixes:
|
||||
- Fix wrong TCP port range in parse_port_range(). Fixes bug 6218;
|
||||
bugfix on 0.2.1.10-alpha.
|
@ -1526,7 +1526,7 @@ parse_port_range(const char *port, uint16_t *port_min_out,
|
||||
} else if (endptr && *endptr == '-') {
|
||||
port = endptr+1;
|
||||
endptr = NULL;
|
||||
port_max = (int)tor_parse_long(port, 10, 1, 65536, &ok, &endptr);
|
||||
port_max = (int)tor_parse_long(port, 10, 1, 65535, &ok, &endptr);
|
||||
if (!ok) {
|
||||
log_warn(LD_GENERAL,
|
||||
"Malformed port %s on address range; rejecting.",
|
||||
|
Loading…
Reference in New Issue
Block a user