Skip to content

Commit 7104469

Browse files
committed
Update strscan to fix improper sharing
The issue arises when the `StringScanner` string is being modified while being scanned. In such a case, that string's buffers will be improperly shared, forcing a new buffer to be created each time it is modified. Meanwhile the ever-growing buffers are held in memory by the improperly shared return values. This was fixed by ruby/strscan#84 and strscan is updated in this PR.
1 parent e43e3b5 commit 7104469

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/pom.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def log(message=nil)
9898
['shellwords', '0.1.0'],
9999
['singleton', '0.1.1'],
100100
['stringio', '3.0.8'],
101-
['strscan', '3.0.7'],
101+
['strscan', '3.0.9'],
102102
['subspawn', '0.1.1'], # has 3 transitive deps:
103103
['subspawn-posix', '0.1.1'],
104104
['ffi-binary-libfixposix', '0.5.1.1'],

lib/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ DO NOT MODIFY - GENERATED CODE
736736
<dependency>
737737
<groupId>rubygems</groupId>
738738
<artifactId>strscan</artifactId>
739-
<version>3.0.7</version>
739+
<version>3.0.9</version>
740740
<type>gem</type>
741741
<scope>provided</scope>
742742
<exclusions>
@@ -1120,7 +1120,7 @@ DO NOT MODIFY - GENERATED CODE
11201120
<include>specifications/shellwords-0.1.0*</include>
11211121
<include>specifications/singleton-0.1.1*</include>
11221122
<include>specifications/stringio-3.0.8*</include>
1123-
<include>specifications/strscan-3.0.7*</include>
1123+
<include>specifications/strscan-3.0.9*</include>
11241124
<include>specifications/subspawn-0.1.1*</include>
11251125
<include>specifications/subspawn-posix-0.1.1*</include>
11261126
<include>specifications/ffi-binary-libfixposix-0.5.1.1*</include>
@@ -1198,7 +1198,7 @@ DO NOT MODIFY - GENERATED CODE
11981198
<include>gems/shellwords-0.1.0*/**/*</include>
11991199
<include>gems/singleton-0.1.1*/**/*</include>
12001200
<include>gems/stringio-3.0.8*/**/*</include>
1201-
<include>gems/strscan-3.0.7*/**/*</include>
1201+
<include>gems/strscan-3.0.9*/**/*</include>
12021202
<include>gems/subspawn-0.1.1*/**/*</include>
12031203
<include>gems/subspawn-posix-0.1.1*/**/*</include>
12041204
<include>gems/ffi-binary-libfixposix-0.5.1.1*/**/*</include>
@@ -1276,7 +1276,7 @@ DO NOT MODIFY - GENERATED CODE
12761276
<include>cache/shellwords-0.1.0*</include>
12771277
<include>cache/singleton-0.1.1*</include>
12781278
<include>cache/stringio-3.0.8*</include>
1279-
<include>cache/strscan-3.0.7*</include>
1279+
<include>cache/strscan-3.0.9*</include>
12801280
<include>cache/subspawn-0.1.1*</include>
12811281
<include>cache/subspawn-posix-0.1.1*</include>
12821282
<include>cache/ffi-binary-libfixposix-0.5.1.1*</include>

0 commit comments

Comments
 (0)