commit | 07abbf896c4e90882f7297570a85c3222d5eaf03 | [log] [tgz] |
---|---|---|
author | Brandon Kim <brandonkim@google.com> | Mon Jun 23 21:03:07 2025 +0000 |
committer | Brandon Kim <brandonkim@google.com> | Mon Jun 23 21:03:07 2025 +0000 |
tree | a62f54a009106607aa748e530e2feb84dfa63de9 | |
parent | 3b6fb071cad2b1c3479c4955ebe14547cf8fc2a5 [diff] |
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>