projects
/
gpac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fff68e5
)
[PATCH] fixed #1892
author
jeanlf
<jeanlf@gpac.io>
Mon, 30 Aug 2021 14:06:09 +0000
(16:06 +0200)
committer
Aron Xu
<aron@debian.org>
Tue, 23 May 2023 11:53:25 +0000
(12:53 +0100)
Gbp-Pq: Name CVE-2021-40563.patch
src/filters/reframe_nalu.c
patch
|
blob
|
history
diff --git
a/src/filters/reframe_nalu.c
b/src/filters/reframe_nalu.c
index bcad22cf7e6e24043cad95d5520c6a65a5e84001..f672aebe72c21ef2aa13b263f2ecf31fbdd56c6d 100644
(file)
--- a/
src/filters/reframe_nalu.c
+++ b/
src/filters/reframe_nalu.c
@@
-1414,8
+1414,10
@@
static void naludmx_queue_param_set(GF_NALUDmxCtx *ctx, char *data, u32 size, u3
{
GF_List *list = NULL, *alt_list = NULL;
GF_AVCConfigSlot *sl;
- u32 i, count;
- u32 crc = gf_crc_32(data, size);
+ u32 i, count, crc;
+
+ if (!size) return;
+ crc = gf_crc_32(data, size);
if (ctx->is_hevc) {
switch (ps_type) {