Changeset: 25aa3d1c8e7d for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=25aa3d1c8e7d
Modified Files:
        monetdb5/scheduler/run_octopus.c
Branch: Jan2014
Log Message:

Be defensive where needed.


diffs (12 lines):

diff --git a/monetdb5/scheduler/run_octopus.c b/monetdb5/scheduler/run_octopus.c
--- a/monetdb5/scheduler/run_octopus.c
+++ b/monetdb5/scheduler/run_octopus.c
@@ -407,6 +407,8 @@ OCTOPUSdiscoverRegister(Client cntxt, Ma
        worker to be skipped. */
 
        start= getPC(mb,pci);
+       if( start< 0)
+               throw(MAL,"run.octopus","illegal instruction");
        for (j = start + 1; j<mb->stop ; j++){
                p= getInstrPtr(mb,j);
                if ( p->barrier == EXITsymbol )
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to