]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
upstream: Set user, host and path to NULL immediately before calling
authordtucker@openbsd.org <dtucker@openbsd.org>
Thu, 12 Jun 2025 10:09:39 +0000 (10:09 +0000)
committerDarren Tucker <dtucker@dtucker.net>
Thu, 12 Jun 2025 10:39:30 +0000 (20:39 +1000)
commit930a45ee759728c8ba711c45a2a985b8191bd297
treec699c217341505c8fde5e262b9b4abd94f65e668
parent2314d87f9b8b430532111fd6e5e8df0cf9068c9c
upstream: Set user, host and path to NULL immediately before calling

parse_user_host_path in tests.  This ensures that we don't accidentally use
the previous value if the function under test doesn't set them Also fixes
Coverity CIDs 405056 405065 405066.

OpenBSD-Regress-ID: 43678ff59001712f32214fe303b1c21c163c2960
regress/unittests/misc/test_parse.c