]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-fs: iteration - Fix crash when overwriting iteration error
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 23 Oct 2020 11:54:22 +0000 (14:54 +0300)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 23 Oct 2020 11:54:22 +0000 (14:54 +0300)
commit005a3d3b52cf0a560d2b0058610566c70d33fb1d
tree14e578432a5d8e5438bdc31741532adc3dc913bf
parent7a97dfb74f5f2bda6531c6e3584767edce26433f
lib-fs: iteration - Fix crash when overwriting iteration error

Can't use fs_file_path() because file is NULL. Instead, add the path to
struct fs_iter directly so it can be used in the error.

Broken by eaaf40ca4e8994824abff89fc617c3cc737d83a5
src/lib-fs/fs-api-private.h
src/lib-fs/fs-api.c