Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
f399a950
Commit
f399a950
authored
Aug 24, 2008
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ts demux: fix potential crash in EIT events
parent
b78f809b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
modules/demux/ts.c
modules/demux/ts.c
+7
-4
No files found.
modules/demux/ts.c
View file @
f399a950
...
...
@@ -2912,11 +2912,14 @@ static void EITCallBack( demux_t *p_demux, dvbpsi_eit_t *p_eit )
if
(
pE
->
i_text_length
>
0
)
{
char
*
psz_text
=
EITConvertToUTF8
(
pE
->
i_text
,
pE
->
i_text_length
);
msg_Dbg
(
p_demux
,
" - text='%s'"
,
psz_text
);
if
(
psz_text
)
{
msg_Dbg
(
p_demux
,
" - text='%s'"
,
psz_text
);
psz_extra
=
realloc
(
psz_extra
,
strlen
(
psz_extra
)
+
strlen
(
psz_text
)
+
1
);
strcat
(
psz_extra
,
psz_text
);
free
(
psz_text
);
psz_extra
=
realloc
(
psz_extra
,
strlen
(
psz_extra
)
+
strlen
(
psz_text
)
+
1
);
strcat
(
psz_extra
,
psz_text
);
free
(
psz_text
);
}
}
for
(
i
=
0
;
i
<
pE
->
i_entry_count
;
i
++
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment