shared-macros.mk: remove superfluous RUBY_PKG_CONFIG_PATH
[oi-userland.git] / components / encumbered / rtmpdump / patches / 02-CVE-2015-8270.patch
blob3d129be314951d8de7d3c1ab5ecdb4e10fb0240c
1 From 10b580aabcec1621b25518271ba1ab2b018be88e Mon Sep 17 00:00:00 2001
2 From: Howard Chu <hyc@highlandsun.com>
3 Date: Mon, 14 Dec 2015 17:49:19 +0000
4 Subject: [PATCH] Fix AMF3ReadString
6 Init str on unsupported references
7 ---
8 librtmp/amf.c | 2 ++
9 1 file changed, 2 insertions(+)
11 diff --git a/librtmp/amf.c b/librtmp/amf.c
12 index 73d1486..9261217 100644
13 --- a/librtmp/amf.c
14 +++ b/librtmp/amf.c
15 @@ -471,6 +471,8 @@ AMF3ReadString(const char *data, AVal *str)
16 RTMP_Log(RTMP_LOGDEBUG,
17 "%s, string reference, index: %d, not supported, ignoring!",
18 __FUNCTION__, refIndex);
19 + str->av_val = NULL;
20 + str->av_len = 0;
21 return len;
23 else
24 --
25 1.9.1