[wp-trac] [WordPress Trac] #29542: hash_equals throws a fatal error (hhvm) when a nonce is sent as an integer

WordPress Trac noreply at wordpress.org
Sun Sep 7 18:23:06 UTC 2014


#29542: hash_equals throws a fatal error (hhvm) when a nonce is sent as an integer
-------------------------------------+------------------
 Reporter:  newleaves                |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  low                      |   Milestone:  4.1
Component:  Plugins                  |     Version:  4.0
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------
Changes (by jesin):

 * keywords:  needs-patch needs-unit-tests => has-patch needs-testing


Comment:

 Patch [attachment:29542.diff]'s unit test would error on PHP 5.6 without
 the type cast.

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


More information about the wp-trac mailing list