From 37fb98cad7642fe2c8dac6ad99624253adc3ce0e Mon Sep 17 00:00:00 2001 From: oddsock Date: Wed, 1 Jan 2003 21:21:20 +0000 Subject: [PATCH] fixed SEGV when streaming with mp3 with metadata svn path=/trunk/icecast/; revision=4198 --- src/source.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/source.c b/src/source.c index a319bc78..90b05b1e 100644 --- a/src/source.c +++ b/src/source.c @@ -64,6 +64,9 @@ source_t *source_find_mount(const char *mount) avl_node *node; int cmp; + if (!mount) { + return NULL; + } /* get the root node */ node = global.source_tree->root->right;