n7tae / new-xlxd

An improved XLX reflector
GNU General Public License v3.0
19 stars 14 forks source link

Correct two, 1 byte buffer overflows in ambe packet handling #5

Closed iamsi closed 3 years ago

iamsi commented 3 years ago

There are 2 instances in the code (in upstream too) where there's a 1 byte buffer overflow.

The change to cdmrmmdvmprotocol.cpp appears to fix the random crashes with a busy DMR peer.

n7tae commented 3 years ago

Good catch. Thanks.