Update of /cvsroot/monetdb/pathfinder/modules/pftijah
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv9612
Modified Files:
Tag: Nov2009
serialize_pftijah.mx
Log Message:
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.80.2.2
retrieving revision 1.80.2.3
diff -u -d -r1.80.2.2 -r1.80.2.3
--- serialize_pftijah.mx 4 Dec 2009 14:22:48 -0000 1.80.2.2
+++ serialize_pftijah.mx 23 Dec 2009 15:50:08 -0000 1.80.2.3
@@ -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