[PATCH] riched20: Add check to ensure iob is a valid index into the object array.