mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix a potential buffer overflow found by Ilja van Sprundel.
We don't think this is exploitable, but best to fix it anyway. svn:r2437
This commit is contained in:
+1
-1
@@ -287,7 +287,7 @@ void rep_hist_dump_stats(time_t now, int severity)
|
||||
break;
|
||||
}
|
||||
}
|
||||
log(severity, buffer);
|
||||
log(severity, "%s", buffer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user