Skip to content

Commit

Permalink
Fix a offbyone error when reading CC's that are encrypted (related to #…
Browse files Browse the repository at this point in the history
  • Loading branch information
Fishwaldo committed Mar 26, 2019
1 parent 3056796 commit c01bd59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/command_classes/Security.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ bool Security::HandleMsg
value->OnValueRefreshed( m_secured );
value->Release();
}
HandleSupportedReport(&_data[2], _length-2);
HandleSupportedReport(&_data[2], _length-3);
break;
}
case SecurityCmd_SchemeReport:
Expand Down

0 comments on commit c01bd59

Please sign in to comment.