bej_decoder: Add a limit on number of operations

This is to prevent the decoder from taking on a huge number of
operations from a single input, that could cause the main while loop for
bejDecode to run for a long time.

Tested: Unit test passes

Change-Id: Idb68b706d3634d1874d1814f17420076672d21ee
Signed-off-by: Brandon Kim <brandonkim@google.com>
2 files changed
tree: a62f54a009106607aa748e530e2feb84dfa63de9
  1. include/
  2. src/
  3. subprojects/
  4. test/
  5. .clang-format
  6. .clang-tidy
  7. .gitignore
  8. LICENSE
  9. MAINTAINERS
  10. meson.build
  11. meson.options
  12. OWNERS
  13. README.md
README.md

libbej

This library can be used to decode RDE bej data. More details on how to use the library will be added in the future.