Don't allow any TG0 data through.

This commit is contained in:
Jonathan Naylor 2017-01-23 09:57:45 +00:00 committed by GitHub
parent 08f180399a
commit 393fad13b1
1 changed files with 4 additions and 0 deletions

View File

@ -75,6 +75,10 @@ bool CDMRAccessControl::validateTGId(unsigned int slotNo, bool group, unsigned i
if (!group)
return true;
// TG0 is never valid
if (id == 0U)
return false;
if (slotNo == 1U) {
if (m_slot1TGWhiteList.empty())
return true;