Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0ecd9c07b63025adbf9dc6687d7ff9d71f299fa5
Ticket: 3475667fffffffffffffffffffffffffffffffff
[solved] access violation using -start greater as text len
User & Date: sebres on 2012-01-19 01:37:25
Changes

  1. assignee changed to: "pvgoran"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Problem Behavior: 
    command "regexp" exception bug (Access Violation) executing folowing code:
    <code>
       set s 590000
       regexp -start $s -indices {\s\m\S} [string repeat " " 580000] wortpos
    <code>
    
    Tcl Version: ALL KNOWN (solved in 8.5.11)
    OS Platform: ANY
    
    Comment: If could be not reproduced on some platforms, still more enlarge value of "s". On win32 could not be reproduced in debugger of visual studio, but in borland. 
    On debian applies to both - release and debug.
    
    Solution: see attached patch.
    
  4. foundin changed to: "obsolete: 8.5.11"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "sebres"
  10. subsystem changed to: "43. Regexp"
  11. title changed to:
    [solved] access violation using -start greater as text len
    
  12. type changed to: "Bug"