Fixes PDA runtime href exploit (#1868)

This commit is contained in:
CitadelStationBot
2017-07-04 17:47:06 -05:00
committed by kevinz000
parent 2242c4b798
commit 45fd6a1447
+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()