Commit 2b9d4879 authored by Sebastian Hahn's avatar Sebastian Hahn
Browse files

Enlarge the buffer for a line in a bw file

parent 184a2dbb
Loading
Loading
Loading
Loading

changes/bug14125

0 → 100644
+5 −0
Original line number Diff line number Diff line
  o Minor bugfixes (dirauth):
    - Enlarge the buffer to read bw-auth generated files to avoid an
      issue when parsing the file in dirserv_read_measured_bandwidths().
      Bugfix on 0.2.2.1-alpha, fixes #14125.
+1 −1
Original line number Diff line number Diff line
@@ -2487,7 +2487,7 @@ int
dirserv_read_measured_bandwidths(const char *from_file,
                                 smartlist_t *routerstatuses)
{
  char line[256];
  char line[512];
  FILE *fp = tor_fopen_cloexec(from_file, "r");
  int applied_lines = 0;
  time_t file_time, now;