durable_rules 0.34.16 → 0.34.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/librb/durable.rb +1 -1
- data/src/rules/net.c +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f088b9135a5d4ad9a64d29156986df9307d40fc
|
4
|
+
data.tar.gz: 3fa59ec7a1b268240235aadcfe1ea91563afd156
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3c5a66e5cdcc3c813985d221e6933cd63692eccfee45cbd1fab0bda5283d203bd1b26a62d4ebdda671cab3e138a7e79c14bfc72aa2392bacb5d173b829a0548
|
7
|
+
data.tar.gz: 49f9def662c46765994e89d35df408e20fc2eafe2d6650803403dc9b57e48652fe18e4533e9b77700987f28ac9d9f90df64d4d70c0fdd3741b40e466680a73cb
|
data/librb/durable.rb
CHANGED
data/src/rules/net.c
CHANGED
@@ -2876,6 +2876,11 @@ unsigned int peekAction(ruleset *tree, void **bindingContext, redisReply **reply
|
|
2876
2876
|
}
|
2877
2877
|
|
2878
2878
|
if ((*reply)->type == REDIS_REPLY_ARRAY) {
|
2879
|
+
if ((*reply)->elements < 4) {
|
2880
|
+
freeReplyObject(*reply);
|
2881
|
+
return ERR_REDIS_ERROR;
|
2882
|
+
}
|
2883
|
+
|
2879
2884
|
*bindingContext = currentBinding;
|
2880
2885
|
return RULES_OK;
|
2881
2886
|
} else {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: durable_rules
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.34.
|
4
|
+
version: 0.34.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jesus Ruiz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|