Fixes PDA runtime href exploit (#28959)

This commit is contained in:
kevinz000
2017-07-04 10:31:52 -03:00
committed by Leo
parent d15982dc0a
commit de1281f458
+1 -1
View File
@@ -464,7 +464,7 @@ GLOBAL_LIST_EMPTY(PDAs)
//LINK FUNCTIONS===================================
else//Cartridge menu linking
mode = text2num(href_list["choice"])
mode = max(text2num(href_list["choice"]), 0)
else//If not in range, can't interact or not using the pda.
U.unset_machine()