mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Fix a copy-and-paste issue found by coverity
Fixes CID 980650; bugfix on 0.2.4.10-alpha.
This commit is contained in:
parent
ffd6e557cb
commit
b9432becbe
4
changes/cov980650
Normal file
4
changes/cov980650
Normal file
@ -0,0 +1,4 @@
|
||||
o Minor bugfixes:
|
||||
- Fix a copy-and-paste error when adding a missing A1 to a routerset
|
||||
because of GeoIPExcludeUnknown. Fix for coverity CID 980650.
|
||||
Bugfix on 0.2.4.10-alpha.
|
@ -255,7 +255,7 @@ routerset_add_unknown_ccs(routerset_t **setp, int only_if_some_cc_set)
|
||||
}
|
||||
if (add_a1) {
|
||||
smartlist_add(set->country_names, tor_strdup("a1"));
|
||||
smartlist_add(set->country_names, tor_strdup("{a1}"));
|
||||
smartlist_add(set->list, tor_strdup("{a1}"));
|
||||
}
|
||||
|
||||
if (add_unknown || add_a1) {
|
||||
|
Loading…
Reference in New Issue
Block a user