Changeset: b747b2ee1af2 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b747b2ee1af2
Modified Files:
        monetdb5/mal/mal_function.mx
Branch: default
Log Message:

Defense line against out of bound access


diffs (11 lines):

diff --git a/monetdb5/mal/mal_function.mx b/monetdb5/mal/mal_function.mx
--- a/monetdb5/mal/mal_function.mx
+++ b/monetdb5/mal/mal_function.mx
@@ -871,6 +871,7 @@
                /* check correct use of the arguments*/
                for(k=p->retc;k<p->argc; k++) {
                        l=getArg(p,k);
+                       assert( l < mb->vtop);
                        setVarUsed(mb,l);
                        if( decl[l] == 0){
 @-
_______________________________________________
Checkin-list mailing list
Checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to