Add ZipFile test for skipping unrelated ENDSIG found in padded bytes

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: core-libs

      When looking for the ENDSIG, ZipFile.Source.findEND will sanity check that an ENDSIG indicates a LOCOFF and CENOFF that actually contains LOCSIG and CENSIG.

      We currently have testing for the case where the ENDSIG is the start of an actual END header with some padded bytes.

      However, we do not have any testing for the case where the ENDSIG found is invalid in that it does not resolve LOCOFF and CENOFF with expected signatures.

            Assignee:
            Eirik Bjørsnøs
            Reporter:
            Eirik Bjørsnøs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: