Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 132796b13428522873b0a601f7f04aba7261f64dc2f8d381f6e1c81689ddafa3
Ticket: 90612089d8423b75a50197df1cdd29d5aef2f062
signed integer overflow in ExprRandFunc()
User & Date: jan.nijtmans on 2021-12-15 17:06:01
Changes

  1. assignee changed to: "jan.nijtmans"
  2. icomment:
    Suggested fix [b0fd5cb70eed5212|here]. In stead of multiplying by 2**12 (= 4096) we could also multiply with the first prime-number below that (= 4093). Then all bits of randomness in thread-id are kept.
    
    Thanks for the suggestion!
    
  3. login: "jan.nijtmans"
  4. mimetype: "text/x-fossil-wiki"
  5. resolution changed to: "Fixed"
  6. status changed to: "Pending"