diff options
author | djm@openbsd.org <djm@openbsd.org> | 2015-05-04 06:10:48 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-05-10 11:57:12 +1000 |
commit | 1f792489d5cf86a4f4e3003e6e9177654033f0f2 (patch) | |
tree | 9f8c4295a666cfb4b51d0fb1c614170624dbc08f | |
parent | 639d6bc57b1942393ed12fb48f00bc05d4e093e4 (diff) |
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@
-rw-r--r-- | servconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servconf.c b/servconf.c index 5606c3c7f..9257a174b 100644 --- a/servconf.c +++ b/servconf.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: servconf.c,v 1.268 2015/05/01 07:08:08 djm Exp $ */ | 1 | /* $OpenBSD: servconf.c,v 1.269 2015/05/04 06:10:48 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 3 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
4 | * All rights reserved | 4 | * All rights reserved |