[vlc-commits] Fix NULL pointer deref (fix #4599)

Rémi Duraffort git at videolan.org
Sun Mar 20 10:43:00 CET 2011


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Mar 20 10:40:10 2011 +0100| [882e06e061f6f662224f52055afee8e63be35f0f] | committer: Rémi Duraffort

Fix NULL pointer deref (fix #4599)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=882e06e061f6f662224f52055afee8e63be35f0f
---

 modules/demux/playlist/podcast.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/playlist/podcast.c b/modules/demux/playlist/podcast.c
index 5f6f01a..445d0c7 100644
--- a/modules/demux/playlist/podcast.c
+++ b/modules/demux/playlist/podcast.c
@@ -286,7 +286,7 @@ static int Demux( demux_t *p_demux )
                     vlc_gc_decref( p_input );
                     b_item = false;
                 }
-                else if( !strcmp( psz_elname, "image" ) )
+                else if( !strcmp( node, "image" ) )
                 {
                     b_image = false;
                 }



More information about the vlc-commits mailing list