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

fix issue with unpacking sample counts #1630

Merged

Commits on Feb 9, 2024

  1. fix issue with unpacking sample counts

    When unpacking sample counts as "individual" counts (no longer
    monotonic), it writes the total sample count to a value 1 past the
    individual sample counts, but this is not in the packed data, so do not
    expect to unpack that many values. The buffer just needs to be allocated
    one value larger to avoid write past end of buffer which is taken care
    of in the update_pack_unpack_ptrs function
    
    Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
    kdt3rd committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    53a153f View commit details
    Browse the repository at this point in the history