[svn:parrot] r40606 - trunk/src/runcore
bacek at svn.parrot.org
bacek at svn.parrot.org
Mon Aug 17 12:45:54 UTC 2009
Author: bacek
Date: Mon Aug 17 12:45:49 2009
New Revision: 40606
URL: https://trac.parrot.org/parrot/changeset/40606
Log:
[cage] Don't reuse reallocated func_table by old pointer in dynop_register. Closing TT#931
Modified:
trunk/src/runcore/main.c
Modified: trunk/src/runcore/main.c
==============================================================================
--- trunk/src/runcore/main.c Mon Aug 17 02:02:18 2009 (r40605)
+++ trunk/src/runcore/main.c Mon Aug 17 12:45:49 2009 (r40606)
@@ -1169,7 +1169,7 @@
* if we are running a different core, entries are
* changed below
*/
- new_evc_func_table[i] = interp->op_func_table[CORE_OPS_check_events__];
+ new_evc_func_table[i] = new_func_table[CORE_OPS_check_events__];
}
interp->evc_func_table = new_evc_func_table;
@@ -1287,7 +1287,7 @@
/* if not install wrappers */
/* fill new entries with the wrapper op */
for (i = n_old; i < n_tot; ++i)
- ops_addr[i] = (cg_lib->op_func_table)[CORE_OPS_wrapper__];
+ ops_addr[i] = ops_addr[CORE_OPS_wrapper__];
}
/* if we are running this core, update event check ops */
More information about the parrot-commits
mailing list