projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd124d5
)
subparse: fix svace issue (add null check)
10/100710/1
accepted/tizen/common/20161129.173625
accepted/tizen/ivi/20161130.015435
accepted/tizen/mobile/20161130.015215
accepted/tizen/tv/20161130.015300
accepted/tizen/wearable/20161130.015347
submit/tizen/20161129.052917
author
Eunhae Choi
<eunhae1.choi@samsung.com>
Tue, 29 Nov 2016 04:45:26 +0000
(13:45 +0900)
committer
Eunhae Choi
<eunhae1.choi@samsung.com>
Tue, 29 Nov 2016 04:45:26 +0000
(13:45 +0900)
Change-Id: Ie76839a33aa679514737c2e05475a1499d0fb74b
gst/subparse/samiparse.c
patch
|
blob
|
history
diff --git
a/gst/subparse/samiparse.c
b/gst/subparse/samiparse.c
index
4a2ada6
..
c9eaea3
100644
(file)
--- a/
gst/subparse/samiparse.c
+++ b/
gst/subparse/samiparse.c
@@
-566,6
+566,9
@@
html_context_handle_element (HtmlContext * ctxt,
gchar *attr_name = NULL, *attr_value = NULL;
next = (gchar*)strcasestr (next, "lang:");
+ if (!next)
+ break;
+
attr_value = (gchar*)malloc (3);
next = next + 5;
/* skip spaces */