public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-video/gxine/files: gxine-0.5.906-playlist_segfault.patch
@ 2011-11-25 18:13 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 2+ messages in thread
From: Samuli Suominen (ssuominen) @ 2011-11-25 18:13 UTC (permalink / raw
  To: gentoo-commits

ssuominen    11/11/25 18:13:06

  Added:                gxine-0.5.906-playlist_segfault.patch
  Log:
  Fix segmentation fault in playlist wrt #390783 by Rafał Mużyło
  
  (Portage version: 2.2.0_alpha77/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  media-video/gxine/files/gxine-0.5.906-playlist_segfault.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/gxine/files/gxine-0.5.906-playlist_segfault.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/gxine/files/gxine-0.5.906-playlist_segfault.patch?rev=1.1&content-type=text/plain

Index: gxine-0.5.906-playlist_segfault.patch
===================================================================
Fix segmentation fault in playlist wrt http://bugs.gentoo.org/390783 by Rafał Mużyło

--- src/playlist.c
+++ src/playlist.c
@@ -427,7 +427,7 @@ static int playlist_load (const char *fn
     if (errno != ENOENT && (defaultfile || errno != ENOTDIR))
       display_error (FROM_GXINE, _("Loading of playlist file failed."),
 		     _("Failed to open file ‘%s’\n%s"), fname, strerror (errno));
-    goto ret0;
+    goto ret1;
   }
 
   xml_parser_init_R (xml_parser_t *xml, plfile, st.st_size, XML_PARSER_CASE_INSENSITIVE);
@@ -524,9 +524,10 @@ static int playlist_load (const char *fn
   return 1;
 
   ret0:
-  free (plfile);
   xml_parser_free_tree (root);
   xml_parser_finalize_R (xml);
+  free (plfile);
+  ret1:
   if (defaultfile)
     free ((char *)fname);
   return ret;






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in media-video/gxine/files: gxine-0.5.906-playlist_segfault.patch
@ 2012-05-17 20:33 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 2+ messages in thread
From: Samuli Suominen (ssuominen) @ 2012-05-17 20:33 UTC (permalink / raw
  To: gentoo-commits

ssuominen    12/05/17 20:33:26

  Removed:              gxine-0.5.906-playlist_segfault.patch
  Log:
  old
  
  (Portage version: 2.2.0_alpha105/cvs/Linux x86_64)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-17 20:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-25 18:13 [gentoo-commits] gentoo-x86 commit in media-video/gxine/files: gxine-0.5.906-playlist_segfault.patch Samuli Suominen (ssuominen)
  -- strict thread matches above, loose matches on Subject: below --
2012-05-17 20:33 Samuli Suominen (ssuominen)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox