Skip to content

_asn1_expand_object_id: Limit recursion

Mike Gorse requested to merge (removed):master into master

Fixes issues/4: calling asn1_parser2tree can lead to an infinite loop given a crafted file. Add a description of the new feature/bug fix. Reference any relevant bugs.

Resolves: #4 (closed)

Checklist

  • Code modified for feature
  • Test suite updated with functionality tests
  • Test suite updated with negative tests
  • Documentation updated

Reviewer's checklist:

  • There is a test suite reasonably covering new functionality or modifications
  • Function naming, parameters, return values, types, etc., are consistent with other code
  • This feature/change has adequate documentation added
  • No obvious mistakes in the code
Edited by Nikos Mavrogiannopoulos

Merge request reports