Message179006
tarfile.TarInfo.fromtarfile does not check read() return value.
read() may return less than requested size, so,
buf = tarfile.fileobj.read(BLOCKSIZE)
...
obj.offset = tarfile.fileobj.tell() - BLOCKSIZE
may do something nasty. |
|
Date |
User |
Action |
Args |
2013-01-04 07:55:22 | socketpair | set | recipients:
+ socketpair |
2013-01-04 07:55:22 | socketpair | set | messageid: <1357286122.2.0.304851627332.issue16859@psf.upfronthosting.co.za> |
2013-01-04 07:55:22 | socketpair | link | issue16859 messages |
2013-01-04 07:55:21 | socketpair | create | |
|