xormask area uninitialized, crash in rs decode
This commit is contained in:
parent
ddd70bdd07
commit
e40f2c53da
|
@ -109,6 +109,7 @@ p25p2_tdma::p25p2_tdma(const op25_audio& udp, int slotid, int debug, bool do_msg
|
||||||
d_msgq_id(msgq_id),
|
d_msgq_id(msgq_id),
|
||||||
p2framer()
|
p2framer()
|
||||||
{
|
{
|
||||||
|
memset(tdma_xormask, 0, SUPERFRAME_SIZE);
|
||||||
assert (slotid == 0 || slotid == 1);
|
assert (slotid == 0 || slotid == 1);
|
||||||
mbe_initMbeParms (&cur_mp, &prev_mp, &enh_mp);
|
mbe_initMbeParms (&cur_mp, &prev_mp, &enh_mp);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue