Commit 3243f42
committed
Switch to snprintf and modify challenge string
* It should be impossible to cause a buffer overrun with this format
string but use the safer version anyway.
* Make the phpredis challenge string searchable and add 32 bits of
entropy since it's theoretically possible that two machines would
generate the same `tv_sec` + `tv_usec` string.1 parent 99ebd0c commit 3243f42
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1800 | 1800 | | |
1801 | 1801 | | |
1802 | 1802 | | |
1803 | | - | |
1804 | | - | |
| 1803 | + | |
| 1804 | + | |
1805 | 1805 | | |
1806 | 1806 | | |
1807 | 1807 | | |
| |||
1811 | 1811 | | |
1812 | 1812 | | |
1813 | 1813 | | |
1814 | | - | |
| 1814 | + | |
1815 | 1815 | | |
1816 | 1816 | | |
1817 | 1817 | | |
| |||
0 commit comments