Update of /cvsroot/monetdb/pathfinder/compiler/algebra/prop
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv462
Modified Files:
Tag: Nov2009
prop_reqval.c
Log Message:
Check result of find_map.
Found by Coverity.
Index: prop_reqval.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/prop/prop_reqval.c,v
retrieving revision 1.57.4.2
retrieving revision 1.57.4.3
diff -u -d -r1.57.4.2 -r1.57.4.3
--- prop_reqval.c 7 Jan 2010 15:17:24 -0000 1.57.4.2
+++ prop_reqval.c 11 Jan 2010 09:47:05 -0000 1.57.4.3
@@ -670,8 +670,10 @@
/* overrule any previous negative setting
(which may be introduced by multiple parent edges) */
map = find_map (MAP_LIST(n), n->sem.select.col);
- map->sel_name = true;
- map->sel_val = true;
+ if (map) {
+ map->sel_name = true;
+ map->sel_val = true;
+ }
break;
case la_pos_select:
------------------------------------------------------------------------------
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