This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component
Fabien Potencier b5d0501860 minor #11574 [Security] Made optimization on constant-time algorithm removing modulus operator (yosmanyga)
This PR was merged into the 2.3 branch.

Discussion
----------

[Security] Made optimization on constant-time algorithm removing modulus operator

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

This fix improves the constant-time algorithm used to compare strings, as it removes the `%` operator inside the loop.

Commits
-------

000bd0d Made optimization deprecating modulus operator
2014-08-31 05:48:56 +02:00
..
BrowserKit Fixed relative redirects for ambiguous paths 2014-08-05 09:20:55 +02:00
ClassLoader [ClassLoader] simplified phpdoc 2014-08-28 16:35:12 +02:00
Config minor #11483 fix some docblocks (xabbuh) 2014-08-02 09:53:48 +02:00
Console [Console] fixed style creation when providing an unknown tag option 2014-08-07 17:55:24 +02:00
CssSelector [CssSelector] Fix URL to SimonSapin/cssselect repo 2014-08-27 10:24:06 +02:00
Debug removed defaults from PHPUnit configuration 2014-07-07 12:13:42 +02:00
DependencyInjection Fixed Factory services not within the ServiceReferenceGraph. 2014-08-27 10:32:18 +02:00
DomCrawler bug #11692 [DomCrawler] check for the correct field type (xabbuh) 2014-08-21 02:21:59 +02:00
EventDispatcher [EventDispatcher] don't count empty listeners 2014-07-25 17:00:14 +02:00
Filesystem [Filesystem] Add FTP stream wrapper context option to enable overwrite (override) 2014-08-31 05:30:23 +02:00
Finder remove volatile tests 2014-08-08 10:12:23 +02:00
Form Fixed #11675 ValueToDuplicatesTransformer accept "0" value 2014-08-19 11:05:04 +02:00
HttpFoundation revert #11510, moved to 2.6 2014-08-14 10:11:24 +02:00
HttpKernel minor #11483 fix some docblocks (xabbuh) 2014-08-02 09:53:48 +02:00
Intl minor #11483 fix some docblocks (xabbuh) 2014-08-02 09:53:48 +02:00
Locale removed defaults from PHPUnit configuration 2014-07-07 12:13:42 +02:00
OptionsResolver removed defaults from PHPUnit configuration 2014-07-07 12:13:42 +02:00
Process fix some minor typos in tests 2014-08-28 11:02:24 +02:00
PropertyAccess Plural fix 2014-08-05 09:05:24 +02:00
Routing fix handling of nullable XML attributes 2014-08-15 11:05:55 +02:00
Security minor #11574 [Security] Made optimization on constant-time algorithm removing modulus operator (yosmanyga) 2014-08-31 05:48:56 +02:00
Serializer bug #11428 [Serializer] properly handle null data when denormalizing (xabbuh) 2014-08-01 08:14:57 +02:00
Stopwatch remove volatile tests 2014-08-08 10:12:23 +02:00
Templating removed defaults from PHPUnit configuration 2014-07-07 12:13:42 +02:00
Translation fixed CS 2014-07-27 10:25:12 +02:00
Validator [Validator] reverted permissions change on translation files 2014-08-27 10:38:16 +02:00
Yaml [Yaml] fixed mapping keys containing a quoted # 2014-08-28 03:42:35 +02:00