diff options
author | Karel Kočí <cynerd@email.cz> | 2018-02-05 18:35:20 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-02-05 18:35:20 +0100 |
commit | c737fb227929d5b0d5f01d61464d965bd9d2b0fc (patch) | |
tree | a1c79f0f4eb4539c6316b9025f565da33909e296 /net-misc/vde/files/vde-2.3.2-format-security.patch | |
parent | 5f30c47548e72fc9608ba3237c2cfba1647231d7 (diff) | |
download | gentoo-personal-overlay-c737fb227929d5b0d5f01d61464d965bd9d2b0fc.tar.gz gentoo-personal-overlay-c737fb227929d5b0d5f01d61464d965bd9d2b0fc.tar.bz2 gentoo-personal-overlay-c737fb227929d5b0d5f01d61464d965bd9d2b0fc.zip |
Try to fix vde compilation
Diffstat (limited to 'net-misc/vde/files/vde-2.3.2-format-security.patch')
-rw-r--r-- | net-misc/vde/files/vde-2.3.2-format-security.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net-misc/vde/files/vde-2.3.2-format-security.patch b/net-misc/vde/files/vde-2.3.2-format-security.patch new file mode 100644 index 0000000..d1cfaa5 --- /dev/null +++ b/net-misc/vde/files/vde-2.3.2-format-security.patch @@ -0,0 +1,18 @@ +--- a/src/common/cmdparse.c 2017-09-20 18:47:31.662856695 -0400 ++++ b/src/common/cmdparse.c 2017-09-20 18:48:54.008852141 -0400 +@@ -284,13 +284,13 @@ + int i; + for (i=0;i<argc;i++) { + if (i) fprintf(mf," "); +- fprintf(mf,argv[i]); ++ fprintf(mf,"%s",argv[i]); + } + } else { + int num=atoi(t); + while (*t >='0' && *t <= '9') t++; + if (num < argc) +- fprintf(mf,argv[num]); ++ fprintf(mf,"%s",argv[num]); + } + } else + fprintf(mf,"%c",*t); |