Commit 5c4fe08
committed
generic_z_command fixes
Use the lengths for our optional parameters, as NULL will
come through as a non null zval pointer with a zero length
Properly return the length from the redis_cmd_sstr_init function1 parent 6e0f0d7 commit 5c4fe08
2 files changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
| 470 | + | |
470 | 471 | | |
471 | 472 | | |
472 | 473 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4405 | 4405 | | |
4406 | 4406 | | |
4407 | 4407 | | |
4408 | | - | |
| 4408 | + | |
4409 | 4409 | | |
4410 | 4410 | | |
4411 | 4411 | | |
| |||
4470 | 4470 | | |
4471 | 4471 | | |
4472 | 4472 | | |
4473 | | - | |
| 4473 | + | |
4474 | 4474 | | |
4475 | 4475 | | |
4476 | 4476 | | |
| |||
4489 | 4489 | | |
4490 | 4490 | | |
4491 | 4491 | | |
4492 | | - | |
| 4492 | + | |
4493 | 4493 | | |
4494 | 4494 | | |
4495 | 4495 | | |
| |||
4505 | 4505 | | |
4506 | 4506 | | |
4507 | 4507 | | |
4508 | | - | |
4509 | | - | |
| 4508 | + | |
| 4509 | + | |
4510 | 4510 | | |
4511 | 4511 | | |
4512 | 4512 | | |
| |||
0 commit comments