Land #5118 - prevent stack trace in https x64

bug/bundler_fix
OJ 2015-04-10 08:58:06 +10:00
commit 298b20ba74
No known key found for this signature in database
GPG Key ID: D5DC61FB93260597
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ class Msf::Payload::UUID
end
# Map a platform abbreviation to the real name
name = Msf::Platform.find_platform(platform)
name = platform ? Msf::Platform.find_platform(platform) : nil
if name && name.respond_to?(:realname)
name = name.realname.downcase
end