[MIRROR] Fixes stack multiplier exploit [MDB IGNORE] (#14124)

* Fixes stack multiplier exploit (#67514)

ye

* Fixes stack multiplier exploit

Co-authored-by: CocaColaTastesGood <47264839+CocaColaTastesGood@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-06-06 12:34:00 +01:00
committed by GitHub
co-authored by CocaColaTastesGood
parent 932105a272
commit 2daa2e795f
+1 -1
View File
@@ -357,7 +357,7 @@
return
if(!is_valid_recipe(recipe, recipes)) //href exploit protection
return
if(!multiplier || (multiplier <= 0)) //href exploit protection
if(!multiplier || multiplier < 1) //href exploit protection
return
if(!building_checks(builder, recipe, multiplier))
return