httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/srclib/pcre pcreposix.c
Date Fri, 28 Sep 2001 17:15:12 GMT
wrowe       01/09/28 10:15:12

  Modified:    srclib/pcre pcreposix.c
  Log:
    This broken bit causes a segfault after locking pconf as read-only.
  
  Revision  Changes    Path
  1.3       +5 -0      httpd-2.0/srclib/pcre/pcreposix.c
  
  Index: pcreposix.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/srclib/pcre/pcreposix.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- pcreposix.c	2000/10/11 07:42:44	1.2
  +++ pcreposix.c	2001/09/28 17:15:12	1.3
  @@ -231,7 +231,12 @@
   if ((eflags & REG_NOTBOL) != 0) options |= PCRE_NOTBOL;
   if ((eflags & REG_NOTEOL) != 0) options |= PCRE_NOTEOL;
   
  +#if 0
  +/* This causes a memory segfault after locking the const, thread-shared *preg 
  + * generated at compile time, and is entirely unnecessary.
  + */
   preg->re_erroffset = (size_t)(-1);   /* Only has meaning after compile */
  +#endif
   
   if (nmatch > 0)
     {
  
  
  

Mime
View raw message