projects
/
gpac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0143ee
)
[PATCH] fixed #2480
author
jeanlf
<jeanlf@gpac.io>
Wed, 31 May 2023 12:09:48 +0000
(14:09 +0200)
committer
Moritz Mühlenhoff
<jmm@debian.org>
Mon, 19 Jun 2023 21:46:06 +0000
(22:46 +0100)
Gbp-Pq: Name CVE-2023-3012.patch
src/utils/xml_parser.c
patch
|
blob
|
history
diff --git
a/src/utils/xml_parser.c
b/src/utils/xml_parser.c
index 3fdf82cb315d1c9eb31d7da789542767a8132716..61f892135db10e94be4720a8f59565f92431bfd5 100644
(file)
--- a/
src/utils/xml_parser.c
+++ b/
src/utils/xml_parser.c
@@
-948,7
+948,7
@@
exit:
static GF_Err xml_sax_append_string(GF_SAXParser *parser, char *string)
{
u32 size = parser->line_size;
- u32 nl_size =
(u32) strlen(string)
;
+ u32 nl_size =
string ? (u32) strlen(string) : 0
;
if (!nl_size) return GF_OK;