[wp-trac] [WordPress Trac] #34948: Update random_compat for "Don't instantiate COM if it's a disabled class"

WordPress Trac noreply at wordpress.org
Tue Dec 22 03:22:07 UTC 2015


#34948: Update random_compat for "Don't instantiate COM if it's a disabled class"
--------------------------------+---------------------
 Reporter:  ocean90             |       Owner:  dd32
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:  4.4.1
Component:  External Libraries  |     Version:  4.4
 Severity:  minor               |  Resolution:  fixed
 Keywords:                      |     Focuses:
--------------------------------+---------------------
Changes (by dd32):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"36058"]:
 {{{
 #!CommitTicketReference repository="" revision="36058"
 Update random_compat to latest
 Changes:
  * Checks `disable_classes` for `COM()` before using to avoid PHP Warnings
  * Uses `stream_set_chunk_size()` to avoid reading 8KiB from
 `/dev/urandom` unintentionally.

 Merges [35922] to the 4.4 branch.

 Fixes #34948.
 }}}

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


More information about the wp-trac mailing list