OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cbc2e6
)
mmsh: fixed printf injection bug in mmsh request
author
Kirill Zorin
<cyril.zorin@gmail.com>
Wed, 15 Jun 2011 17:18:29 +0000
(19:18 +0200)
committer
Martin Storsjö
<martin@martin.st>
Thu, 16 Jun 2011 14:40:21 +0000
(17:40 +0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/mmsh.c
patch
|
blob
|
history
diff --git
a/libavformat/mmsh.c
b/libavformat/mmsh.c
index
b19973e
..
af040e2
100644
(file)
--- a/
libavformat/mmsh.c
+++ b/
libavformat/mmsh.c
@@
-231,7
+231,7
@@
static int mmsh_open(URLContext *h, const char *uri, int flags)
host, sizeof(host), &port, path, sizeof(path), location);
if (port<0)
port = 80; // default mmsh protocol port
- ff_url_join(httpname, sizeof(httpname), "http", NULL, host, port, path);
+ ff_url_join(httpname, sizeof(httpname), "http", NULL, host, port,
"%s",
path);
if (ffurl_alloc(&mms->mms_hd, httpname, AVIO_FLAG_READ) < 0) {
return AVERROR(EIO);