current pcrs.c,1.49,1.50

Fabian Keil <[email protected]> Wed, 25 May 2016 10:50:30 +0000
Newsgroups gmane.comp.web.privoxy.cvs
Message-ID <[email protected]>
Update of /cvsroot/ijbswa/current
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv4797

Modified Files:
	pcrs.c 
Log Message:
pcrs_compile_replacement(): Add two assertions


Index: pcrs.c
===================================================================
RCS file: /cvsroot/ijbswa/current/pcrs.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -C2 -d -r1.49 -r1.50
*** pcrs.c	8 May 2016 10:45:51 -0000	1.49
--- pcrs.c	25 May 2016 10:50:28 -0000	1.50
***************
*** 376,379 ****
--- 376,381 ----
              }
  
+             assert(l < PCRS_MAX_SUBMATCHES - 1);
+             assert(r->backref[l] < PCRS_MAX_SUBMATCHES + 2);
              /* Valid and in range? -> record */
              if ((0 <= r->backref[l]) &&


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j