]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
upstream: Move up null check and simplify process_escapes.
authordtucker@openbsd.org <dtucker@openbsd.org>
Mon, 3 Apr 2023 08:10:54 +0000 (08:10 +0000)
committerDarren Tucker <dtucker@dtucker.net>
Mon, 3 Apr 2023 08:35:04 +0000 (18:35 +1000)
commit09d8da0849e2791b2500267cda333cd238f38754
tree2dd012a09a785593cbc6d912d6bc0e12b32dd2af
parentb36b162be5e6206f12b734222b7bc517c13a6bc8
upstream: Move up null check and simplify process_escapes.

Based on Coverity CID 291863 which points out we check the channel
pointer for NULLness after dereferencing it.  Move this to the start
of the function, and while there simplify initialization of efc a bit.
ok djm@

OpenBSD-Commit-ID: de36e5ad6fde0fe263ca134e986b9095dc59380a
clientloop.c