Message76781
| Author |
rhettinger |
| Recipients |
barry, rhettinger |
| Date |
2008年12月02日.20:53:07 |
| SpamBayes Score |
0.0019846624 |
| Marked as misclassified |
No |
| Message-id |
<1228251189.49.0.297492395281.issue4495@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
C:\py30>svn diff
Index: Python/traceback.c
===================================================================
--- Python/traceback.c (revision 67476)
+++ Python/traceback.c (working copy)
@@ -171,7 +171,7 @@
if (!PyUnicode_Check(v))
continue;
path = _PyUnicode_AsStringAndSize(v, &len);
- if (len + 1 + taillen >= (Py_ssize_t)namelen - 1)
+ if (len + 1 + (Py_ssize_t)taillen >= (Py_ssize_t)namelen
- 1)
continue; /* Too long */
strcpy(namebuf, path);
if (strlen(namebuf) != len) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年12月02日 20:53:09 | rhettinger | set | recipients:
+ rhettinger, barry |
| 2008年12月02日 20:53:09 | rhettinger | set | messageid: <1228251189.49.0.297492395281.issue4495@psf.upfronthosting.co.za> |
| 2008年12月02日 20:53:08 | rhettinger | link | issue4495 messages |
| 2008年12月02日 20:53:07 | rhettinger | create |
|