mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
we've been stomping on memory while reading config
doesn't seem to have bitten us yet, but let's fix that :) svn:r619
This commit is contained in:
parent
9981177001
commit
2093f60760
@ -481,7 +481,7 @@ try_next_line:
|
||||
do {
|
||||
*s = 0;
|
||||
s--;
|
||||
} while (isspace(*s));
|
||||
} while (s >= line && isspace(*s));
|
||||
|
||||
key = line;
|
||||
while(isspace(*key))
|
||||
|
Loading…
Reference in New Issue
Block a user