From 310c7858660bd0d40f09e52d471f258c742b51f4 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Tue, 9 Aug 2016 17:22:02 +0100 Subject: [PATCH] Reject unknown CSBKs. --- DMRCSBK.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DMRCSBK.cpp b/DMRCSBK.cpp index e31e8d7..f530f5b 100644 --- a/DMRCSBK.cpp +++ b/DMRCSBK.cpp @@ -96,7 +96,7 @@ bool CDMRCSBK::put(const unsigned char* bytes) default: CUtils::dump("Unhandled CSBK type", m_data, 12U); - break; + return false; } return true;