Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5dcbb485efbab2a5b49038085c4fdc10db37b6a0
Ticket: 1048733fffffffffffffffffffffffffffffffff
possible segfaults with NULL interps
User & Date: coldstore on 2004-10-18 00:16:32
Changes

  1. icomment:
    Logged In: YES 
    user_id=19214
    
    At least the following public and private functions in
    tcl/generic/ match the following criteria:
    
    1) have Tcl_Interp* as their first argument
    2) have NULL passed in as their first argument.
    
    In the case that they (or the functions they pass interp to)
    can possibly error, I believe there's a risk of a segment fault.
    
    Tcl_Close Tcl_DictObjFirst Tcl_DictObjGet Tcl_DictObjPut
    Tcl_DictObjRemove Tcl_DictObjSize Tcl_ExternalToUtf
    Tcl_FSConvertToPathType Tcl_FSFileAttrsSet Tcl_FSGetCwd
    Tcl_FSGetNormalizedPath Tcl_FSGetTranslatedPath
    Tcl_FSJoinToPath Tcl_FSOpenFileChannel Tcl_GetBoolean
    Tcl_GetBooleanFromObj Tcl_GetEncoding Tcl_GetIndexFromObj
    Tcl_GetInt Tcl_GetIntFromObj Tcl_GetLongFromObj
    Tcl_GetWideIntFromObj Tcl_ListObjAppendElement
    Tcl_ListObjAppendList Tcl_ListObjGetElements
    Tcl_ListObjIndex Tcl_ListObjLength Tcl_ListObjReplace
    Tcl_ParseCommand Tcl_RegExpCompile Tcl_SetChannelOption
    Tcl_SplitList Tcl_UtfToExternal
    
    CheckForDeadChannel DoTildeSubst FlushChannel GetStatBuf
    SetBlockMode SetByteArrayFromAny SetFsPathFromAny
    SetStringFromAny
    
    
    
    
  2. login: "coldstore"
  3. mimetype: "text/plain"
  4. username: "coldstore"