Mercurial > audlegacy
changeset 1513:1b5f5a995838 trunk
[svn] - to prevent SIGSEGV
author | yaz |
---|---|
date | Mon, 07 Aug 2006 00:39:19 -0700 |
parents | 56f1f0f7437d |
children | 50fa1e16ba5d |
files | ChangeLog Plugins/Input/cue/cuesheet.c |
diffstat | 2 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sun Aug 06 15:13:01 2006 -0700 +++ b/ChangeLog Mon Aug 07 00:39:19 2006 -0700 @@ -1,3 +1,11 @@ +2006-08-06 22:13:01 +0000 Giacomo Lozito <james@develia.org> + revision [1938] + - refinements for the notify plugin + + Changes: Modified: + +11 -4 trunk/Plugins/General/notify/notify.c + + 2006-08-06 13:24:06 +0000 Tony Vroon <chainsaw@gentoo.org> revision [1936] Remove 15 instrument magic at offset 1080 because of false positive resulting in decoder segfault. Closes bug #543.
--- a/Plugins/Input/cue/cuesheet.c Sun Aug 06 15:13:01 2006 -0700 +++ b/Plugins/Input/cue/cuesheet.c Mon Aug 07 00:39:19 2006 -0700 @@ -95,6 +95,9 @@ ext = strrchr(filename, '.'); + if(!ext) + return FALSE; + if (!strncasecmp(ext, ".cue", 4)) { gint i; @@ -333,6 +336,9 @@ FILE *file = fopen(f, "rb"); gchar line[MAX_CUE_LINE_LENGTH+1]; + if(!file) + return; + while (TRUE) { gint p; gint q;