Skip to content

Commit

Permalink
asan local better check
Browse files Browse the repository at this point in the history
  • Loading branch information
h00die committed Dec 21, 2023
1 parent 526da21 commit 91c58ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def upload_and_compile(path, data, gcc_args = '')
end

def check
return CheckCode::Safe('A valid SUID_EXECUTABLE option is required') if suid_exe_path.empty?
return CheckCode::Safe('A valid SUID_EXECUTABLE option is required') if suid_exe_path.blank?
return CheckCode::Safe("#{suid_exe_path} file not found") unless file? suid_exe_path
return CheckCode::Safe("#{suid_exe_path} is not setuid") unless setuid? suid_exe_path

Expand Down

0 comments on commit 91c58ba

Please sign in to comment.