Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fc47bc658f371ea233384625c12261a0239d63be1754f0bf243101e52ca97951
Ticket: b3c74292558fedac648a424642ca7923624ff1ad
Read of a password protected zipfs file with a bad password does not raise an error
User & Date: apnadkarni on 2023-09-15 03:34:11
Changes

  1. icomment:
    The prior case was for an encrypted, uncompressed file. If the file is encrypted AND compressed, an error is raised for a different reason.
    
    ```
    % zipfs mount ../tests/zipfiles/test-password.zip mt badpass
    % set fd [open //zipfs:/mt/cipher-deflate.bin]
    decompression error
    ```
    
    While this raises an error, it is still problematic in that the data is decrypted without error indication and if the bogus data happens to be formatted correctly for compression, no error will be detected.
    
  2. login: "apnadkarni"
  3. mimetype: "text/plain"