Bug#995996: dump: segfaults on long paths

2021-12-29 Thread наб
Control: tag -1 + patch On Tue, Oct 12, 2021 at 05:40:42PM +1000, Alexander Zangerl wrote: > sorry, but i disagree. yes, it is a bug. but no, it is not severity > important: a 2000+ levels deep directory hierarchy has no > practical relevance whatsoever. > and a workaround exists: don't create

Bug#995996: dump: segfaults on long paths

2021-10-26 Thread Bernhard Übelacker
Dear Maintainer, I guess this crash might be a stack exhaustion. Given the function treescan in dirs.c would allocate for locname 4096 bytes, and this function is called recursively, we would fill up a stack of 8MB, which 'ulimit -s' shows at my system as default. Therefore another workaround

Bug#995996: dump: segfaults on long paths

2021-10-12 Thread Alexander Zangerl
On Sat, 09 Oct 2021 19:06:21 +0200, наб writes: ... ># mkdir -p /tmp/img.d/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a 2030+ levels deep. >Picking Severity: important, because this means it's /impossible/ to >restore (or even view!) a valid dump. sorry, but i disagree. yes, it is a