Skip to content
Permalink
Browse files

Removed crc32() because of *very* common collisions occuring.

Does not touch any of the exposed stuff and will not break anything
else (except you know of a collision within crc32 already and make
"use" of it - which can only be malcious.)

Has already been "fixed" in the 2.x branch.
  • Loading branch information...
hmic committed Aug 24, 2014
1 parent 72105c2 commit 4e6e2cd1cc956333a94e4a2d0e6be23e79ff60a9
Showing with 2 additions and 3 deletions.
  1. +2 −3 cake/libs/model/datasources/dbo_source.php
@@ -54,9 +54,8 @@ class DboSource extends DataSource {
/**
* Caches result from query parsing operations. Cached results for both DboSource::name() and
* DboSource::conditions() will be stored here. Method caching uses `md5()` which is
* fast but can collisions more easily than other hashing algorithms. If you have problems
* with collisions, set DboSource::$cacheMethods to false.
* DboSource::conditions() will be stored here. Method caching uses `md5()`. If you have
* problems with collisions, set DboSource::$cacheMethods to false.
*
* @var array
* @access public

0 comments on commit 4e6e2cd

Please sign in to comment.
You can’t perform that action at this time.