Index: /trunk/BNC/CHANGELOG.md
===================================================================
--- /trunk/BNC/CHANGELOG.md	(revision 11083)
+++ /trunk/BNC/CHANGELOG.md	(revision 11084)
@@ -32,4 +32,5 @@
 - FIXED: Combination: text of the combination logfile was lost
 - FIXED: Upload of raw streams lost data chunks
+- FIXED: RTCM3 decoder: a 0xD3 byte followed by a zero length field at the end of the received data caused an endless loop until std::bad_alloc, and the stream was deleted
 - FIXED: SP3/Clock RINEX files from corrections off the sampling grid (e.g. Galileo HAS): no ephemeris was selected, epochs are now written at the preceding grid epoch
 - FIXED: RINEX observation files written without usable skeleton contained no observation values
Index: /trunk/BNC/src/RTCM3/RTCM3Decoder.cpp
===================================================================
--- /trunk/BNC/src/RTCM3/RTCM3Decoder.cpp	(revision 11083)
+++ /trunk/BNC/src/RTCM3/RTCM3Decoder.cpp	(revision 11084)
@@ -2435,5 +2435,5 @@
       }
       else {
-        _NeedBytes = _BlockSize;
+        _NeedBytes = _BlockSize + 6; // never 0, also for a zero length field
         break;
       }
