Message133583
| Author |
Abraham.Soedjito |
| Recipients |
Abraham.Soedjito, theller |
| Date |
2011年04月12日.15:39:25 |
| SpamBayes Score |
0.00016606275 |
| Marked as misclassified |
No |
| Message-id |
<1302622766.46.0.0398461644853.issue11835@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
void __cdecl foo(unsigned __int32 a,
unsigned __int32 b,
unsigned __int32 c,
unsigned __int32 d,
unsigned __int32 e,
unsigned __int32 f,
unsigned __int32 g);
struct myStruct
{
unsigned __int32 a;
unsigned __int32 b;
unsigned __int32 c;
unsigned __int32 d;
unsigned __int32 e;
unsigned __int32 f;
unsigned __int32 g;
}
void __cdecl bar(myStruct s);
void __cdecl errorPassingParameter(myStruct s1,
myStruct s2,
unsigned __int32 x);
Calling foo and bar from python completed successfully, calling errorParsingParameter resulted in stack corruption. It seems that python passed an extra pointer in the stack for s2. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年04月12日 15:39:26 | Abraham.Soedjito | set | recipients:
+ Abraham.Soedjito, theller |
| 2011年04月12日 15:39:26 | Abraham.Soedjito | set | messageid: <1302622766.46.0.0398461644853.issue11835@psf.upfronthosting.co.za> |
| 2011年04月12日 15:39:25 | Abraham.Soedjito | link | issue11835 messages |
| 2011年04月12日 15:39:25 | Abraham.Soedjito | create |
|