diff options
author | markus@openbsd.org <markus@openbsd.org> | 2020-03-06 19:16:21 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2020-03-13 03:13:30 +0100 |
commit | 16d4f9961c75680aab374dee762a5baa0ad507af (patch) | |
tree | 9facb1a5c81e2906b5516761c14e1f52c3edca8a /auth2.c | |
parent | upstream: fix null-deref on calloc failure; ok djm (diff) | |
download | openssh-16d4f9961c75680aab374dee762a5baa0ad507af.tar.xz openssh-16d4f9961c75680aab374dee762a5baa0ad507af.zip |
upstream: exit on parse failures in input_service_request; ok djm
OpenBSD-Commit-ID: 6a7e1bfded26051d5aa893c030229b1ee6a0d5d2
Diffstat (limited to '')
-rw-r--r-- | auth2.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: auth2.c,v 1.157 2019/09/06 04:53:27 djm Exp $ */ +/* $OpenBSD: auth2.c,v 1.158 2020/03/06 18:16:21 markus Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * @@ -217,7 +217,7 @@ input_service_request(int type, u_int32_t seq, struct ssh *ssh) r = 0; out: free(service); - return 0; + return r; } #define MIN_FAIL_DELAY_SECONDS 0.005 |