This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | rolland |
|---|---|
| Recipients | rolland |
| Date | 2008年03月21日.10:27:36 |
| SpamBayes Score | 0.15935719 |
| Marked as misclassified | No |
| Message-id | <1206095258.5.0.538024401904.issue2443@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
In many files, the following code is present (with slight variations,
but the important part is there) :
static PyObject *
objargs_mktuple(va_list va)
{
int i, n = 0;
va_list countva;
PyObject *result, *tmp;
#ifdef VA_LIST_IS_ARRAY
memcpy(countva, va, sizeof(va_list));
#else
#ifdef __va_copy
__va_copy(countva, va);
#else
countva = va;
#endif
#endif
...
memcpy() is accessing va_list before it is initialized.
Before the first access to a va_list type variable, and after the last
access to that variable, calls to va_start() and va_end() must be made
to initialize and free the variable.
Such behaviour should be corrected in the following files :
- Objects/abstract.c, line 1901
- Objects/stringobject.c, line 162
- getargs.c, line 66
- getargs.c, line 1188
- modsupport.c, line 479 |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年03月21日 10:27:38 | rolland | set | spambayes_score: 0.159357 -> 0.15935719 recipients: + rolland |
| 2008年03月21日 10:27:38 | rolland | set | spambayes_score: 0.159357 -> 0.159357 messageid: <1206095258.5.0.538024401904.issue2443@psf.upfronthosting.co.za> |
| 2008年03月21日 10:27:37 | rolland | link | issue2443 messages |
| 2008年03月21日 10:27:36 | rolland | create | |