diff options
| author | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2020-12-16 00:00:18 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2020-12-16 00:00:18 +0000 |
| commit | c16790af2c9b4cbc38e565d4311252193ff85484 (patch) | |
| tree | 4f43ee770507dee235d6b4f9433d9f807781fcc8 /net-libs/librsync/files/librsync-0.9.7-format-security.patch | |
| parent | fddf516add4924cfe9d698f116342e30b27d67b8 (diff) | |
| download | baldeagleos-repo-21.1.1.tar.gz baldeagleos-repo-21.1.1.tar.xz baldeagleos-repo-21.1.1.zip | |
Updating liguros repo21.1.1
Diffstat (limited to 'net-libs/librsync/files/librsync-0.9.7-format-security.patch')
| -rw-r--r-- | net-libs/librsync/files/librsync-0.9.7-format-security.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/net-libs/librsync/files/librsync-0.9.7-format-security.patch b/net-libs/librsync/files/librsync-0.9.7-format-security.patch deleted file mode 100644 index e35980a4d7a0..000000000000 --- a/net-libs/librsync/files/librsync-0.9.7-format-security.patch +++ /dev/null @@ -1,20 +0,0 @@ -Description: Always use a format string in printf - Fix the warning: buf.c:216:9: error: format not a string literal and no - format arguments [-Werror=format-security] -Author: Andrey Rahmatullin <wrar@wrar.name> -Forwarded: no -Last-Update: 2012-02-05 - -diff --git a/buf.c b/buf.c -index 7f4e7a0..3a83f2b 100644 ---- a/buf.c -+++ b/buf.c -@@ -213,7 +213,7 @@ rs_result rs_file_copy_cb(void *arg, rs_long_t pos, size_t *len, void **buf) - - got = fread(*buf, 1, *len, f); - if (got == -1) { -- rs_error(strerror(errno)); -+ rs_error("%s", strerror(errno)); - return RS_IO_ERROR; - } else if (got == 0) { - rs_error("unexpected eof on fd%d", fileno(f)); |
