[Bug 588428] Review Request: rubygem-addressable - Improved URI/URL handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=588428

Bohuslav Kabrda <bkabrda@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bkabrda@xxxxxxxxxx

--- Comment #27 from Bohuslav Kabrda <bkabrda@xxxxxxxxxx> 2012-01-30 01:37:30 EST ---
Hi Shawn,
I have run into these problem and here is the explanation:

There was a security problem with hash table collisions in Ruby < 1.9 (see [1]
for more info). This was recently solved by introducing Ruby-1.8.7-p357, which
deals with this issue by assigning a random seed to each hash (again, look at
[1] for the details). Therefore the order of a hash can be different in each
interpreter run. The solution is not to test for the exact string, but its
contents. BTW, the order of hashes was never guaranteed in Ruby < 1.9, so it's
always been a bug, but everything worked well in the simple cases.

In Ruby >= 1.9, the hashes are ordered by default, so the tests won't be
failing once we switch to 1.9.3.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=750564

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]