Overview
| Artifact ID: | 08585ee3f2e1c5fc64dba285197b15ac705a1bf2 |
|---|---|
| Ticket: | 2494093fffffffffffffffffffffffffffffffff
buffer overflow in AppendUnicodeToUnicode() -> SEGFAULT |
| User & Date: | matzek on 2009-03-05 17:42:15 |
Changes
- icomment:
Ok, used your test script and observed no hard crashes, but three different behaviors: 1) if not enough memory available to execute the [string repeat] line it comes back with a Tcl error: string size overflow, out of memory allocating 2147481649 bytes while executing "string repeat a [expr (1<<31)-2000]" (procedure "grill" line 2) invoked from within "grill" (file "/RDS/COMPSHARE/home//makr/crashtest.tcl" line 55) 2) otherwise it aborts in the append line: max length for a Tcl unicode value (2147483637 chars) exceeded Abort 3) on Solaris it aborts with: unable to alloc 2147481651 bytes I am not sure why Solaris is behaving strange again and I don't have time currently to investigate... -- Matthias Kraft - login: "matzek"
- mimetype: "text/plain"
- username: "matzek"