Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 02c92e7ba86f071bfdd26fa4bc97fde292abaa75
Ticket: db0a5f6417bcd5f8dbd37377daf1488b60b0c8f0
Tests zlib-8.9 and zlib-8.11 fail with trunk [c7cea9d704] for MSWin 32/MSVC6
User & Date: apnadkarni on 2016-07-21 07:30:51
Changes

  1. icomment:
    First some general comments. On my Win8 system (64-bit), the test runs for zlib-8.11 were FPPPPFPFFF (Fail/Pass). With a non-optimized debug build, using the code below extracted from the test, failures occur only about once in 20-25 runs. So the potential is there for this bug to exist on multiple platforms without actually being observed.
    
    Anyways, the information I have so far shows
    
    inflate() (line 1366 of tclZlib.c) returns 1 in the success case and 0xfffffffb (Z_BUF_ERROR) on failure. Line 1377 checks for this case but because listLen is 0, there is no more data to be passed in.
    
    Not sure where to look next, whether the fault is on the input deflate side or on the output inflate.
    
  2. login: "apnadkarni"
  3. mimetype: "text/plain"