diff options
author | Roger Dingledine <arma@torproject.org> | 2003-10-18 01:28:39 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-10-18 01:28:39 +0000 |
commit | 2093f607603de756e0ec431c49dbbdca9ce22850 (patch) | |
tree | 0b83fc5acb1f542a5b84d252774d76b0dda6938e /src/common | |
parent | 99811770019ad27a9a2a9a6b39051f3115c1ebc8 (diff) | |
download | tor-2093f607603de756e0ec431c49dbbdca9ce22850.tar.gz tor-2093f607603de756e0ec431c49dbbdca9ce22850.zip |
we've been stomping on memory while reading config
doesn't seem to have bitten us yet, but let's fix that :)
svn:r619
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c index 333cd65e6e..ccc130030e 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -481,7 +481,7 @@ try_next_line: do { *s = 0; s--; - } while (isspace(*s)); + } while (s >= line && isspace(*s)); key = line; while(isspace(*key)) |