diff options
| author | xXx-caillou-xXx | 2018-07-19 14:57:21 +0200 |
|---|---|---|
| committer | jvoisin | 2018-07-19 12:57:21 +0000 |
| commit | a925690bb54fbfb30933f7090f646ce05b9d2c80 (patch) | |
| tree | a78779d63ebfe653584af4498dada76c5d211a20 /src/sp_harden_rand.c | |
| parent | 6a3cd5388c9ad188e80172c6a4815f68f5ffdcb6 (diff) | |
Fix the issue with rand hardening
Diffstat (limited to 'src/sp_harden_rand.c')
| -rw-r--r-- | src/sp_harden_rand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_harden_rand.c b/src/sp_harden_rand.c index 0cb3058..ca0503b 100644 --- a/src/sp_harden_rand.c +++ b/src/sp_harden_rand.c | |||
| @@ -32,7 +32,7 @@ static void random_int_wrapper(INTERNAL_FUNCTION_PARAMETERS) { | |||
| 32 | break; | 32 | break; |
| 33 | case 2: | 33 | case 2: |
| 34 | default: | 34 | default: |
| 35 | ZEND_PARSE_PARAMETERS_START_EX(ZEND_PARSE_PARAMS_QUIET, 0, 2); | 35 | ZEND_PARSE_PARAMETERS_START_EX(ZEND_PARSE_PARAMS_QUIET, 2, 2); |
| 36 | Z_PARAM_LONG(min); | 36 | Z_PARAM_LONG(min); |
| 37 | Z_PARAM_LONG(max); | 37 | Z_PARAM_LONG(max); |
| 38 | ZEND_PARSE_PARAMETERS_END_EX((void)0); | 38 | ZEND_PARSE_PARAMETERS_END_EX((void)0); |
