diff options
author | gpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-14 11:17:21 +0000 |
---|---|---|
committer | gpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-14 11:17:21 +0000 |
commit | 83a9e75c4e85fab19caafb213c31cdcb97a66d35 (patch) | |
tree | d0267a84035fa3fcee1bb48dce3ce4a0207dad9a | |
parent | 1c0280d47234bcd74e568d4c4ad66c91756c906e (diff) | |
download | mpv-83a9e75c4e85fab19caafb213c31cdcb97a66d35.tar.bz2 mpv-83a9e75c4e85fab19caafb213c31cdcb97a66d35.tar.xz |
fix uninitialized pointer value being passed to open_stream, where it is used in comparison.
Patch by Eugeniy Stepanov < eugeni P stepanov A gmail P com >
Original Thread:
Date: May 23, 2006 10:57 PM
Subject: [MPlayer-dev-eng] [BUG][PATCH] uninitialized memory access in subreader.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18706 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | subreader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subreader.c b/subreader.c index e3c3555789..60a183d137 100644 --- a/subreader.c +++ b/subreader.c @@ -1378,6 +1378,7 @@ sub_data* sub_read_file (char *filename, float fps) { struct subreader *srp; if(filename==NULL) return NULL; //qnx segfault + i = 0; fd=open_stream (filename, NULL, &i); if (!fd) return NULL; sub_format=sub_autodetect (fd, &uses_time); |