Re: [PATCH] fts: fix a crash triggered by recursive bind mount

2015-02-11 Thread Pádraig Brady
On 11/02/15 15:36, Kamil Dudka wrote: > Reported by Michael Chapman in: https://bugzilla.redhat.com/1188498 > * lib/fts.c (fts_read): Avoid removing the original hash table item > when leaving a directory that caused a cycle, and preserve the FTS_DC > flag. This looks good to me on first glance. I

[PATCH] fts: fix a crash triggered by recursive bind mount

2015-02-11 Thread Kamil Dudka
Reported by Michael Chapman in: https://bugzilla.redhat.com/1188498 * lib/fts.c (fts_read): Avoid removing the original hash table item when leaving a directory that caused a cycle, and preserve the FTS_DC flag. --- ChangeLog | 8 lib/fts.c | 13 ++--- 2 files changed, 18 inserti