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
babf8e2a85
5
changes/bug6530
Normal file
5
changes/bug6530
Normal file
@ -0,0 +1,5 @@
|
||||
o Major security fixes:
|
||||
- Avoid a read of uninitializd RAM when reading a vote or consensus
|
||||
document with an unrecognized flavor name. This could lead to a
|
||||
remote crash bug. Fixes bug 6530; bugfix on 0.2.2.6-alpha.
|
||||
|
@ -2853,7 +2853,7 @@ networkstatus_parse_vote_from_string(const char *s, const char **eos_out,
|
||||
int flavor = networkstatus_parse_flavor_name(tok->args[1]);
|
||||
if (flavor < 0) {
|
||||
log_warn(LD_DIR, "Can't parse document with unknown flavor %s",
|
||||
escaped(tok->args[2]));
|
||||
escaped(tok->args[1]));
|
||||
goto err;
|
||||
}
|
||||
ns->flavor = flav = flavor;
|
||||
|
Loading…
Reference in New Issue
Block a user