Predicate isPermissionsProtectedTempDirUse
Hold’s if temporary directory’s use is protected if there is an explicit call to
setReadable(false, false)
, then setRedabale(true, true)
.
Import path
import semmle.code.java.security.TempDirUtils
predicate isPermissionsProtectedTempDirUse(Node sink)