$OpenBSD: patch-pcreposix_c,v 1.1 2016/04/01 18:15:11 robert Exp $

CVE-2016-3191

  Upstream commit: http://vcs.pcre.org/pcre?view=revision&revision=1631

--- pcreposix.c.orig	Tue Mar 22 20:27:39 2016
+++ pcreposix.c	Tue Mar 22 20:27:55 2016
@@ -6,7 +6,7 @@
 and semantics are as close as possible to those of the Perl 5 language.
 
                        Written by Philip Hazel
-           Copyright (c) 1997-2014 University of Cambridge
+           Copyright (c) 1997-2016 University of Cambridge
 
 -----------------------------------------------------------------------------
 Redistribution and use in source and binary forms, with or without
@@ -173,7 +173,8 @@ static const int eint[] = {
   REG_BADPAT,  /* group name must start with a non-digit */
   /* 85 */
   REG_BADPAT,  /* parentheses too deeply nested (stack check) */
-  REG_BADPAT   /* missing digits in \x{} or \o{} */
+  REG_BADPAT,   /* missing digits in \x{} or \o{} */
+  REG_BADPAT   /* pattern too complicated */
 };
 
 /* Table of texts corresponding to POSIX error codes */
