Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3961ae391f9491f440d5310e408ef0ce9db005ad
Ticket: 2800740fffffffffffffffffffffffffffffffff
libtommath crash
User & Date: dgp on 2009-06-04 04:44:36
Changes

  1. assignee changed to: "kennykb"
  2. icomment:
    
    Tcl's use of libtommath sets mp_digit
    to be 'unsigned long' which on my test
    system is 4 bytes, so sizeof(mp_digit) * size
    is 2147483680, which is bigger than INT_MAX.
    
    If something in the machinery giving meaning
    to the XREALLOC() macro tries to force it
    through a signed int, I'd expect trouble at this
    point.  Can kbk (or anyone) shed light on just
    what XREALLOC() means in this context ?
    
    
    
    
  3. login: "dgp"
  4. mimetype: "text/plain"
  5. subsystem changed to: "48. Number Handling"
  6. username: "dgp"