Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1641

dfdl:length expression that results in a negative value causes Abort

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.0.0
    • None
    • None
    • None

      If dfdl:lengthKind="explicit" and dfdl:length is an expression that results in a negative value, we end up trying to set a bitLimit less than the current bitPosition, which causes an invariant failed abort. The LengthEv's should never result in a negative value. We need to add a check to the LengthEv's to throw an SDE if the resulting value is ever less than zero.

              dthompson David Thompson
              slawrence Steve Lawrence
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: