ref: 96571631b0b25e96c29818d9587059fd3ea41549
parent: 892c36931e1ee7d478457119c30237b2e249673b
author: Paul Brossier <piem@piem.org>
date: Sat Sep 20 06:24:43 EDT 2014
src/io/sink_apple_audio.c: avoid opening null path
--- a/src/io/sink_apple_audio.c
+++ b/src/io/sink_apple_audio.c
@@ -61,6 +61,11 @@
s->max_frames = MAX_SIZE;
s->async = true;
+ if (uri == NULL) {
+ AUBIO_ERROR("sink_apple_audio: Aborted opening null path\n");
+ goto beach;
+ }
+
s->samplerate = 0;
s->channels = 0;