You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if defecInit is called after defecRecv processed a parameter packet
(serial=0) that specifies an invalid decoder algorithm, the parameters are
already in savedStatus so a subsequent defecInit will attempt to restore
the decoder but yield NULL, leading to a crash in
currDecoder->init(currK, currN, maxLen);
this can happen if an invalid parameter packet is received before the system
enters deep sleep (-> defecInit after wakeup).
likewise, if the decoder parameters (k/n) are invalid, the unchecked call above will fail and subsequent decoder calls will access uninitialized memory or reuse stale values.
The text was updated successfully, but these errors were encountered:
if
defecInit
is called afterdefecRecv
processed a parameter packet(serial=0) that specifies an invalid decoder algorithm, the parameters are
already in
savedStatus
so a subsequentdefecInit
will attempt to restorethe decoder but yield NULL, leading to a crash in
this can happen if an invalid parameter packet is received before the system
enters deep sleep (->
defecInit
after wakeup).likewise, if the decoder parameters (k/n) are invalid, the unchecked call above will fail and subsequent decoder calls will access uninitialized memory or reuse stale values.
The text was updated successfully, but these errors were encountered: