diff options
author | Anthony Ferrara <me@ircmaxell.com> | 2012-12-29 07:51:01 -0500 |
---|---|---|
committer | Anthony Ferrara <me@ircmaxell.com> | 2012-12-29 07:51:01 -0500 |
commit | 6ef999b2d566c59819f99e0eeab77940fbd0d77c (patch) | |
tree | b53e86cbd604e3d75eede9ab92cd6795a3e1f529 /Tests/Core/User/InMemoryProviderTest.php | |
parent | 1849d1e5d8f925c671ba44ce461859c730298edb (diff) | |
download | symfony-security-6ef999b2d566c59819f99e0eeab77940fbd0d77c.zip symfony-security-6ef999b2d566c59819f99e0eeab77940fbd0d77c.tar.gz symfony-security-6ef999b2d566c59819f99e0eeab77940fbd0d77c.tar.bz2 |
Improve timing safe comparison function
Improve the timing safe comparison function to better handle cases where input is of different length.
Note that it is now important to always pass any string that the user can directly control to the second parameter of the function. Otherwise, length information may be leaked.
Diffstat (limited to 'Tests/Core/User/InMemoryProviderTest.php')
0 files changed, 0 insertions, 0 deletions