Message217182
Are you aware of the old/new buffer interfaces and their usages? Did you actually try the code? "crash" would be obvious.
Objects that support only the new buffer interface define tp_as_buffer with fields representing the old buffer interface as null.
So, everywhere that uses the old buffer interface usually checks both tp_as_buffer != NULL and tp_as_buffer->bf_getreadbuffer != NULL. That second check is missing here before calling bf_getreadbuffer. |
|
Date |
User |
Action |
Args |
2014-04-26 02:24:10 | bdkearns | set | recipients:
+ bdkearns, pitrou, stutzbach, zach.ware |
2014-04-26 02:24:10 | bdkearns | set | messageid: <1398479050.42.0.656819371332.issue21349@psf.upfronthosting.co.za> |
2014-04-26 02:24:10 | bdkearns | link | issue21349 messages |
2014-04-26 02:24:09 | bdkearns | create | |
|