Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f92658c45e3a17eb772e645a4fa256a897477aa7
Ticket: 219201ffffffffffffffffffffffffffffffffff
string compare \x00 \x20 incorrectly returns 1
User & Date: dkf on 2001-04-06 16:08:50
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    Correct fix is to not use memcmp() unless you are comparing
    two *Unicode* strings (you'd be OK as well if you were using
    ASCII, but determining that is expensive in itself.)
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"