From: djm@openbsd.org Date: Mon, 4 May 2015 06:10:48 +0000 (+0000) Subject: upstream commit X-Git-Tag: V_6_9_P1~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f792489d5cf86a4f4e3003e6e9177654033f0f2;p=thirdparty%2Fopenssh-portable.git upstream commit Remove pattern length argument from match_pattern_list(), we only ever use it for strlen(pattern). Prompted by hanno AT hboeck.de pointing an out-of-bound read error caused by an incorrect pattern length found using AFL and his own tools. ok markus@ --- diff --git a/servconf.c b/servconf.c index 5606c3c7f..9257a174b 100644 --- a/servconf.c +++ b/servconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: servconf.c,v 1.268 2015/05/01 07:08:08 djm Exp $ */ +/* $OpenBSD: servconf.c,v 1.269 2015/05/04 06:10:48 djm Exp $ */ /* * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland * All rights reserved