j
k
j a
j l
getItemAndInstanceFromTable only checks if the table is NULL, but didn't check if it actually contains any entries. It just assumes it does and will return index 1 in some cases, resulting in out-of-bound access of the table down the line.
Back to the thread
Back to the list