Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fc4c7754314d732fc86ae8e04469b21483f55ffd
Ticket: 3159920fffffffffffffffffffffffffffffffff
Tcl_ObjPrintf() crashes with bad format specifier
User & Date: nijtmans on 2011-01-18 15:55:19
Changes

  1. icomment:
    Agreed with ferrieux. This is not a bug, but a feature request.
    Here is a patch, introducing __attribute__((__printf__ .....))
    varargs checking for gcc. There are 3 functions with printf-like
    arguments.
    
    Using this patch, I discovered various varargs problems in
    Tcl_Panic calls, that alone shows this is a good idea.
    
    Comments???
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"