Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
3a653347
Commit
3a653347
authored
Dec 12, 2005
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a crash in stream_ReadLine
parent
b587e9ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/input/stream.c
src/input/stream.c
+2
-1
No files found.
src/input/stream.c
View file @
3a653347
...
...
@@ -241,6 +241,7 @@ stream_t *stream_AccessNew( access_t *p_access, vlc_bool_t b_quick )
/* UTF16 and UTF32 text file conversion */
s
->
i_char_width
=
1
;
s
->
b_little_endian
=
VLC_FALSE
;
s
->
conv
=
(
vlc_iconv_t
)(
-
1
);
/* Common field */
p_sys
->
p_access
=
p_access
;
...
...
@@ -1528,7 +1529,7 @@ char * stream_ReadLine( stream_t *s )
/* We failed to read any data, probably EOF */
if
(
p_line
)
free
(
p_line
);
vlc_iconv_close
(
s
->
conv
);
if
(
s
->
conv
!=
(
vlc_iconv_t
)(
-
1
)
)
vlc_iconv_close
(
s
->
conv
);
return
NULL
;
}
...
...
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