commonmarker 0.16.6 → 0.16.7

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of commonmarker might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1c6cd6cd50f6bdf18dc0107cd9201924ad1d8427
4
- data.tar.gz: 3a23e9ac4f92a454b57b1599df3935d41f0c6cc7
3
+ metadata.gz: b76f6ad30dbe9d4c8109f74a6f97c28bfcfa298e
4
+ data.tar.gz: 361cc09938bbbeeb878800e41a3a8ef1d1d1b7e4
5
5
  SHA512:
6
- metadata.gz: cda57d46d1f05d1ed4eec74507dd0a676688f3cabfa498e88a6a9f7f19c4cb508925cf338cc6545b9e3be9af897efda9c087e1215abc44928d60ab2bc72347fa
7
- data.tar.gz: 4273d4afbf96a6b3f040a68ab30f50b503504fa48f2aee0a0124f0e4dc18141d24411ba2c507f93a671561bf0d363f0c96ccf106f80253ae6562b080bc71b733
6
+ metadata.gz: 3bdad006fe65b5c86983c015f6da516376ea8d897bc14ee01e8e583e6b54a7746db4027bd1d9c18d5a4dd83d12fdbd617bfecd496a01b752222c370737a690f1
7
+ data.tar.gz: b778240a0b734480af1b415f9bca900ecb05d0d7bdce0b2d662311fb3d542453efbc3e8dae08342b10599844055b6e7897c498ac30c7b09ed947935b3e8f7c79
@@ -19,7 +19,7 @@ set(PROJECT_NAME "cmark")
19
19
  set(PROJECT_VERSION_MAJOR 0)
20
20
  set(PROJECT_VERSION_MINOR 27)
21
21
  set(PROJECT_VERSION_PATCH 1)
22
- set(PROJECT_VERSION_GFM 3)
22
+ set(PROJECT_VERSION_GFM 4)
23
23
  set(PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}.gfm.${PROJECT_VERSION_GFM} )
24
24
 
25
25
  option(CMARK_TESTS "Build cmark tests and enable testing" ON)
@@ -1,3 +1,7 @@
1
+ [0.27.1.gfm.4]
2
+
3
+ * Fix regression with nested parentheses in link targets (#48).
4
+
1
5
  [0.27.1.gfm.3]
2
6
 
3
7
  * Various undefined behavior issues fixed (#38, #39, #40).
@@ -871,6 +871,8 @@ static bufsize_t manual_scan_link_url(cmark_chunk *input, bufsize_t offset) {
871
871
  else if (input->data[i] == '(') {
872
872
  ++nb_p;
873
873
  ++i;
874
+ if (nb_p > 32)
875
+ return -1;
874
876
  } else if (input->data[i] == ')') {
875
877
  if (nb_p == 0)
876
878
  break;
@@ -1,3 +1,3 @@
1
1
  module CommonMarker
2
- VERSION = '0.16.6'.freeze
2
+ VERSION = '0.16.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commonmarker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.6
4
+ version: 0.16.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen Torikian
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-07-11 00:00:00.000000000 Z
12
+ date: 2017-07-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ruby-enum