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 #245, implement safer codec loops #254

Merged
merged 1 commit into from
Sep 27, 2023

Commits on Sep 20, 2023

  1. Fix nasa#245, implement safer codec loops

    Implement the encoding and decoding of CBOR containers as a loop.  This
    permits the "error" flag to be easily polled after each iteration, and
    if it is ever set, the operation should exit safely.
    
    This is important because after any encode/decode issue, the tiny CBOR
    state will no longer be in sync with the data, and this library may
    assert if invoked with a bad state object.
    jphickey committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    817b04f View commit details
    Browse the repository at this point in the history