Re: [Bug-tar] infinite loop in sparse_dump_region()

2018-03-22 Thread Pavel Raiskup
On Tuesday, December 19, 2017 9:30:49 AM CET Pavel Raiskup wrote: > Hi, the proposed patch [1] can still be applied, and the reproducer below is > still valid. Please let me know I could fix something in the patch. > > [1] https://www.mail-archive.com/bug-tar@gnu.org/msg04443.html gently ping

Re: [Bug-tar] infinite loop in sparse_dump_region()

2017-12-19 Thread Pavel Raiskup
Hi, the proposed patch [1] can still be applied, and the reproducer below is still valid. Please let me know I could fix something in the patch. [1] https://www.mail-archive.com/bug-tar@gnu.org/msg04443.html Pavel On Sunday, March 16, 2014 10:55:38 PM CET Pavel Raiskup wrote: > Hello François,

Re: [Bug-tar] infinite loop in sparse_dump_region()

2014-03-18 Thread François Ouellet
2014-03-16 17:55 GMT-04:00 Pavel Raiskup prais...@redhat.com: thanks for clear report! You can try the attached patch if you wanted (but it has the same effects as yours one, just the message is little bit different). Reproducer: $ truncate -s 10M file $ tar cSf archive file $

Re: [Bug-tar] infinite loop in sparse_dump_region()

2014-03-16 Thread Pavel Raiskup
Hello François, On Thursday, March 13, 2014 14:43:55 François Ouellet wrote: When dumping a file which is being actively updated by an application (in our case it was an outlook pst file on our samba server), safe_read() can sometimes return 0. When it happens, sparse_dump_region() goes