Skip to content

Commit

Permalink
Merge pull request #55 from dforsi/master
Browse files Browse the repository at this point in the history
Do not memset after the end of the array
  • Loading branch information
f4exb authored Apr 26, 2023
2 parents 4e954c2 + 91c1230 commit 64e7590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nxdn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ DSDNXDN::DSDNXDN(DSDDecoder *dsdDecoder) :
y(0),
z(0)
{
memset(m_syncBuffer, 0, 11);
memset(m_syncBuffer, 0, 10);
memset(m_lichBuffer, 0, 8);

m_rfChannel = NXDNRFCHUnknown;
Expand Down

0 comments on commit 64e7590

Please sign in to comment.