Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1579 P25 Phase 1 Decoder Dibit Broadcaster Error #1580

Merged
merged 1 commit into from
Jun 24, 2023

Commits on Jun 24, 2023

  1. #1579 Resolves issue with array index out of bounds error generated i…

    …n P25 Phase 1 decoders where the Dibit circular buffer attempts to write a
    
    dibit past the length of the array.  Issue likely occurs when a partial/incomplete put operation adds a dibit and increments the buffer pointer but the thread is interrupted prior to wrapping the buffer pointer.  When the next runnable iteration executes, the pointer is pointing past the end of the buffer.  Updates the code to check the pointer both before and after the put operation.
    Dennis Sheirer committed Jun 24, 2023
    Configuration menu
    Copy the full SHA
    f51db06 View commit details
    Browse the repository at this point in the history