diff options
author | Florian Frank <flori@ping.de> | 2017-03-23 14:26:12 +0100 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2017-04-11 12:25:10 +0200 |
commit | 1eb1ebaffbb6ba04f430bbd6e0d4f5558f73a534 (patch) | |
tree | 1ca39bb48a74d20b57e68b5109a553f632d21811 | |
parent | 1cf49cae8dafafe7da52d4cb38bdf3e3b3c247bb (diff) | |
download | json-1eb1ebaffbb6ba04f430bbd6e0d4f5558f73a534.tar.gz |
Fix some problems thay may lead to ruby crashing
- Raise exception for incomplete unicode surrogates/character escape
sequences
- Fix arbitrary heap exposure problem
-rw-r--r-- | CHANGES.md | 5 | ||||
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | json.gemspec | bin | 5474 -> 5474 bytes | |||
-rw-r--r-- | json_pure.gemspec | 6 | ||||
-rw-r--r-- | lib/json/version.rb | 2 |
5 files changed, 10 insertions, 5 deletions
@@ -1,5 +1,10 @@ # Changes +## 2017-03-23 (2.0.4) + * Raise exception for incomplete unicode surrogates/character escape + sequences. This problem was reported by Daniel Gollahon (dgollahon). + * Fix arbitrary heap exposure problem. This problem was reported by Ahmad + Sherif (ahmadsherif). ## 2017-01-12 (2.0.3) * Set `required_ruby_version` to 1.9 @@ -1 +1 @@ -2.0.3 +2.0.4 diff --git a/json.gemspec b/json.gemspec Binary files differindex 52c08c8..5457541 100644 --- a/json.gemspec +++ b/json.gemspec diff --git a/json_pure.gemspec b/json_pure.gemspec index 1ae9a65..62b2276 100644 --- a/json_pure.gemspec +++ b/json_pure.gemspec @@ -1,14 +1,14 @@ # -*- encoding: utf-8 -*- -# stub: json_pure 2.0.3 ruby lib +# stub: json_pure 2.0.4 ruby lib Gem::Specification.new do |s| s.name = "json_pure".freeze - s.version = "2.0.3" + s.version = "2.0.4" s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= s.require_paths = ["lib".freeze] s.authors = ["Florian Frank".freeze] - s.date = "2017-04-10" + s.date = "2017-04-11" s.description = "This is a JSON implementation in pure Ruby.".freeze s.email = "flori@ping.de".freeze s.extra_rdoc_files = ["README.md".freeze] diff --git a/lib/json/version.rb b/lib/json/version.rb index 0f9bbf2..b88dfb6 100644 --- a/lib/json/version.rb +++ b/lib/json/version.rb @@ -1,7 +1,7 @@ # frozen_string_literal: false module JSON # JSON version - VERSION = '2.0.3' + VERSION = '2.0.4' VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc: VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc: VERSION_MINOR = VERSION_ARRAY[1] # :nodoc: |