Improved bounds checking in OpenRQ