]> git.pld-linux.org Git - packages/librsync.git/blob - format-security.patch
up to 2.3.2
[packages/librsync.git] / format-security.patch
1 --- librsync-0.9.7/buf.c~       2004-02-08 00:17:57.000000000 +0100
2 +++ librsync-0.9.7/buf.c        2015-07-25 11:19:24.237688098 +0200
3 @@ -213,7 +213,7 @@
4  
5      got = fread(*buf, 1, *len, f);
6      if (got == -1) {
7 -        rs_error(strerror(errno));
8 +        rs_error("%s", strerror(errno));
9          return RS_IO_ERROR;
10      } else if (got == 0) {
11          rs_error("unexpected eof on fd%d", fileno(f));
This page took 0.019527 seconds and 3 git commands to generate.