Memory leak, make_absolute_pwd_glob

Ed Maste emaste at freebsd.org
Wed Mar 22 06:04:29 AEDT 2023


On Fri, 11 Nov 2022 at 11:05, Ed Maste <emaste at freebsd.org> wrote:
>
> We had one more report from Coverity Scan after we brought 9.1p1 into
> the FreeBSD base system. It complains that calls like "path1 =
> make_absolute_pwd_glob(path1, *pwd);" in sftp.c leak the allocation.

I see this same issue has since been reported by Coverity upstream and
fixed in 36c6c3eff5e4, but that change still missed all of the other
leaks addressed by my change.

Updated patch in https://reviews.freebsd.org/D37253


More information about the openssh-unix-dev mailing list