Message120963
This looks suspect (in function posix_write)::
if (!PyArg_ParseTuple(args, "iy*:write", &fd, &pbuf))
return NULL;
if (!_PyVerify_fd(fd))
return posix_error();
I'd prefer a "PyBuffer_Release(&pbuf);" before returning...
Many other occurrences of _PyVerify_fd have this issue. |
|
Date |
User |
Action |
Args |
2010-11-11 17:01:31 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, rhettinger, pitrou, ocean-city, tim.golden, brian.curtin |
2010-11-11 17:01:31 | amaury.forgeotdarc | set | messageid: <1289494891.59.0.0860882319692.issue10383@psf.upfronthosting.co.za> |
2010-11-11 17:01:28 | amaury.forgeotdarc | link | issue10383 messages |
2010-11-11 17:01:28 | amaury.forgeotdarc | create | |
|