Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bf419d8371545605226c8f29d383df022fc7b97f
Ticket: 2380293fffffffffffffffffffffffffffffffff
binary decode uuencode foo --> segfault
User & Date: ferrieux on 2008-12-16 00:15:33
Changes

  1. icomment:
    After a chat with Kevin, only answerer, it appears that non-strictness has an obvious usecase with randomly interspersed whitespace. That was the perturbation process I was after.
    But it is also clear that any other kind of unexpected character is fishy and should raise an error.
    Just committed this change:
     - fix the off-by-one bug that caused crashes or truncation (which is not 4/3 but only of one char at maximum, because it can occur only in the last 4-byte chunk)
     - redefine the non-strict contract to allow only whitespace as defined by the isspace() function.
    
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"