Changeset: 1cace3cfa93e for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=1cace3cfa93e
Modified Files:
monetdb5/mal/mal_module.mx
Branch: Mar2011
Log Message:
just in case: added another defensive assertion before dereferencing
InstrPtr.fcn
diffs (11 lines):
diff --git a/monetdb5/mal/mal_module.mx b/monetdb5/mal/mal_module.mx
--- a/monetdb5/mal/mal_module.mx
+++ b/monetdb5/mal/mal_module.mx
@@ -244,6 +244,7 @@
if (pci && pci->token == COMMANDsymbol && pci->argc == 1) {
int ret = 0;
+ assert(pci->fcn != NULL);
(*pci->fcn)(&ret);
(void)ret;
}
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list