mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Don't crash on torrc Vi[rtualAddrNetworkIPv[4|6]] with no option value
Check for a missing option value in parse_virtual_addr_network
before asserting on the NULL in tor_addr_parse_mask_ports.
This avoids crashing on torrc lines like Vi[rtualAddrNetworkIPv[4|6]]
when no value follows the option.
Bugfix on 0.2.3 (de4cc126cb on 24 November 2012), fixes #14142.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
o Minor bugfixes (client):
|
||||
- Check for a missing option value in parse_virtual_addr_network
|
||||
before asserting on the NULL in tor_addr_parse_mask_ports.
|
||||
This avoids crashing on torrc lines like
|
||||
Vi[rtualAddrNetworkIPv[4|6]] when no value follows the option.
|
||||
Bugfix on 0.2.3 (de4cc126cbb5 on 24 November 2012), fixes #14142.
|
||||
Patch by "teor".
|
||||
Reference in New Issue
Block a user