|
2001-04-17
| ||
| 04:13 | • Ticket [218536ffff] Memory leak/overflow in regsub status still Closed with ... artifact: a8aac404cc user: dgp | |
|
2000-10-26
| ||
| 08:24 | • Closed ticket [218536ffff]. artifact: 5ce5e5c927 user: welch | |
| 01:01 | • New ticket [218536ffff]. artifact: e29afe335a user: nobody | |
Memory leak/overflow in regsub
Closed / Fixed218536ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:01:53
OriginalBugID: 933 Bug
Version: 8.1a2
SubmitDate: '1998-12-04'
LastModified: '1998-12-08'
Severity: CRIT
Status: Released
Submitter: welch
ChangedBy: stanton
OS: Windows NT
OSVersion: NT 4.0
Machine: X86
FixedDate: '1998-12-08'
FixedInVersion: 8.1b1
ClosedDate: '2000-10-25'
Name:
Lucio Ferrao
CVS:
1998/12/04
Extensions:
none
CustomShell:
Bare tcl8.1 compiled with VC6.0
ReproducibleScript:
set line {BEGIN_TABLE ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; END_TABLE}
set filedata ""
for {set i 1} {$i<200} {incr i} {
append filedata $line
}
for {set i 1} {$i<10} {incr i} {
regsub -all "BEGIN_TABLE " $filedata "" newfiledata
}
ObservedBehavior:
in tcl8.1a2:
unable to realloc 42844 bytes
abnormal program termination
in tcl8.1b1: (from cvs 1998/12/4)
Application Error: The memory could not be read.
DesiredBehavior:
no error.
Patch:
sorry, not yet
12/08/1998 13:13 - stanton -
Fixed a memory allocation bug
where big blocks that were reallocated into a different heap
location were not being placed into the bigBlocks list.
welch Closed ticket [218536ffff].
[History diff]2000-10-26 08:24:13
dgp Ticket [218536ffff]: 3 changes
[History diff]2001-04-17 04:13:56
Log in (anonymous is fine) to add a comment.