Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e6c49c501c9c662ac6fa6fe28f708a3a0b5d7cb4
Ticket: 3127687fffffffffffffffffffffffffffffffff
Triggers FORTIFY_SOURCE buffer overflow detection
User & Date: nijtmans on 2010-12-06 05:14:59
Changes

  1. icomment:
    changing command[4] to command[1] has the
    problem that the structure will be over-allocated
    (sizeof might add passing characters.....)
    
    better: replace the strcpy with memcpy, as we
    already know the length anyway. This is faster
    and should not trigger the FORTIFY_SOURCE.
    
    patch attached. Does this help?
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"