Exploit database

GH-08b4e46992fde5efb0a6e5e3983b5d84

jas502n/cve-2019-12384

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2019-12384

5 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files3

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

jruby-9.2.7.0/lib/ruby/stdlib/jruby/core_ext/string.rb

Ruby · 681 bytes

class String
  
  # Construct a new string with a buffer of the specified size. The buffer is
  # filled with null bytes to start.
  # 
  # May be useful in cases where you know how large a string will grow, and want
  # to pre-allocate the buffer for that size.
  #
  # @return [String]
  # @deprecated use `String.new(capacity: size)`
  def self.alloc(size)
    new(capacity: size)
  end if false

  # Hashed in Ruby are seeded by default (might not be the same between runs).
  # The unseeded hash returns a 'raw' value based only on the byte content.
  # @return [Integer] raw unseeded hash for the String
  def unseeded_hash; end if false

end

JRuby::Util.load_ext(:string)