[wp-trac] [WordPress Trac] #29132: improve hash_equals() introduced in r29382

WordPress Trac noreply at wordpress.org
Wed Aug 6 13:09:59 UTC 2014


#29132: improve hash_equals() introduced in r29382
-------------------------------+------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Security           |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------

Comment (by Denis-de-Bernardy):

 Obviously, should be:

 {{{
 return $a_length == strlen( $b ) && $result === 0;
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29132#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list