From 2bdafc245ddee9a7475ea6a1dc0e17b546a68839 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Thu, 28 Jul 2016 20:42:51 +0200 Subject: [PATCH] Fixed segmentation fault in buffer process for fast reconnects of sources --- src/input/input_buffer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/input/input_buffer.cpp b/src/input/input_buffer.cpp index 084eddb2..e16b7b0d 100644 --- a/src/input/input_buffer.cpp +++ b/src/input/input_buffer.cpp @@ -627,6 +627,7 @@ namespace Mist { //Store a reference for easier access std::map & locations = bufferLocations[tNum]; char * mappedPointer = nProxy.metaPages[tNum].mapped; + if (!mappedPointer){return;} //First detect all entries on metaPage for (int i = 0; i < 8192; i += 8) {