Handling for MAXINT/MAXOBJ in various opcodes
Opened this issue · 0 comments
github-actions commented
Given we're 64-bit this is highly unlikely to ever be a concern for us, but
we also don't want to *crash* on obscene values, so impl that here.
moor/crates/kernel/src/vm/vm_execute.rs
Line 261 in 47435a1
let (from, next_val) = {
let (to, from) = f.peek2();
// TODO: Handling for MAXINT/MAXOBJ in various opcodes
// Given we're 64-bit this is highly unlikely to ever be a concern for us, but
// we also don't want to *crash* on obscene values, so impl that here.