Update of /cvsroot/monetdb/pathfinder/modules/pftijah
In directory
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv9525/modules/pftijah
Modified Files:
serialize_pftijah.mx
Log Message:
propagated changes of Wednesday Dec 23 2009 - Saturday Dec 26 2009
from the Nov2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/12/23 - sjoerd: modules/pftijah/serialize_pftijah.mx,1.80.2.3
tjctx->tagStackPtr == MAXTAGDEPTH causes array overrun.
Found by Coverity.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: serialize_pftijah.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/serialize_pftijah.mx,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- serialize_pftijah.mx 4 Dec 2009 14:39:42 -0000 1.82
+++ serialize_pftijah.mx 26 Dec 2009 10:57:51 -0000 1.83
@@ -472,7 +472,7 @@
static INLINE int
tj_pushTag(tjCtx* tjctx, oid start, oid tagoid) {
- if ( tjctx->tagStackPtr > MAXTAGDEPTH ) {
+ if ( tjctx->tagStackPtr >= MAXTAGDEPTH ) {
GDKerror("tj_pushTag: MAXTAGDEPTH exceeded.\n");
return -1;
}
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins