Commit 78f0abf
committed
Fixed crash on ZREM with missing parameter.
generic_multiple_args_cmd() checked for missing
parameters but was missing a return FAILURE when
the number of parameters was lower than expected.
A unit test was added. This fixes GiHub issue phpredis#102.1 parent b5be148 commit 78f0abf
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1974 | 1974 | | |
1975 | 1975 | | |
1976 | 1976 | | |
1977 | | - | |
| 1977 | + | |
1978 | 1978 | | |
1979 | 1979 | | |
1980 | 1980 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2686 | 2686 | | |
2687 | 2687 | | |
2688 | 2688 | | |
| 2689 | + | |
| 2690 | + | |
| 2691 | + | |
| 2692 | + | |
2689 | 2693 | | |
2690 | 2694 | | |
2691 | 2695 | | |
| |||
0 commit comments