Message91420
| Author |
gpolo |
| Recipients |
ezio.melotti, gpolo, gumpy, kbk, nnorwitz, ocean-city, wplappert |
| Date |
2009年08月08日.15:43:00 |
| SpamBayes Score |
2.9149656e-05 |
| Marked as misclassified |
No |
| Message-id |
<1249746183.97.0.0791244398519.issue1028@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Today I noticed the StringObj manpage (from tcl) says that the bytes
that represent an tcl object should be treated as read-only (although it
uses char *) so this issue1028.diff may very well cause a segfault at
some point.
I'm attaching a new patch that fixes this and also uses
Tcl_GetStringFromObj, instead of directly accessing the bytes member of
a tcl object, so we know its string representation is not invalid. |
|