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@
This commit is contained in:
djm@openbsd.org 2015-05-04 06:10:48 +00:00 committed by Damien Miller
parent 639d6bc57b
commit 1f792489d5
1 changed files with 1 additions and 1 deletions

View File

@ -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 <ylo@cs.hut.fi>, Espoo, Finland
* All rights reserved