[issue16859] tarfile.TarInfo.fromtarfile does not check read() return value

2013-01-03 Thread Марк Коренберг
New submission from Марк Коренберг: 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. -- messages: 179006 nosy

[issue16859] tarfile.TarInfo.fromtarfile does not check read() return value

2013-01-04 Thread Ned Deily
Changes by Ned Deily : -- nosy: +lars.gustaebel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt