current pcrs.c,1.48,1.49

Fabian Keil <[email protected]> Sun, 08 May 2016 10:45:54 +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-serv20455

Modified Files:
	pcrs.c 
Log Message:
pcrs_compile_replacement(): Silence a coverity warning (CID #161203)


Index: pcrs.c
===================================================================
RCS file: /cvsroot/ijbswa/current/pcrs.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** pcrs.c	27 Dec 2015 12:45:46 -0000	1.48
--- pcrs.c	8 May 2016 10:45:51 -0000	1.49
***************
*** 377,381 ****
  
              /* Valid and in range? -> record */
!             if (0 <= r->backref[l] && r->backref[l] < PCRS_MAX_SUBMATCHES + 2)
              {
                 r->backref_count[r->backref[l]] += 1;
--- 377,383 ----
  
              /* Valid and in range? -> record */
!             if ((0 <= r->backref[l]) &&
!                (r->backref[l] < PCRS_MAX_SUBMATCHES + 2) &&
!                (l < PCRS_MAX_SUBMATCHES - 1))
              {
                 r->backref_count[r->backref[l]] += 1;


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z