Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3a5f9524b91105e11f83a78c92b883df78ed6493a6b2b5335c831f5efb59c881
Ticket: 5927f87da3b7dc94a79e5c1aa87ba0170b990f13
Tcl_GetNumber() limits input length without cause
User & Date: dgp on 2025-09-04 17:55:12
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    When Tcl_GetNumber() receives a numBytes argument greater than INT_MAX,
    an error is raised.  When numBytes is negative and bytes points to an
    array of more than INT_MAX chars before a NUL is found, an error is also
    raised.
    
    Tcl_GetNumber() is continuing to check and raise errors for Tcl values
    exceeding the size limits of Tcl 8, even though the routine is new in
    Tcl 9.
    
    The fix is simple and obvious.
    
  5. foundin changed to: "9.0"
  6. is_private changed to: "0"
  7. login: "dgp"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "8e2300e85be5dd1445b9666eb9429055951e33be"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "dgp"
  14. subsystem changed to: "10. Objects"
  15. title changed to: "Tcl_GetNumber() limits input length without cause"
  16. type changed to: "Bug"