[wp-trac] [WordPress Trac] #24884: WP_Query's "m" parameter is cast to an int which is a problem due to 32-bit signed intergers

WordPress Trac noreply at wordpress.org
Tue Aug 27 15:19:55 UTC 2013


#24884: WP_Query's "m" parameter is cast to an int which is a problem due to 32-bit
signed intergers
--------------------------+---------------------
 Reporter:  Viper007Bond  |       Owner:  nacin
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.7
Component:  Query         |     Version:  3.5.2
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"25138"]:
 {{{
 #!CommitTicketReference repository="" revision="25138"
 Don't cast the 'm' query variable to an integer as the value can exceed
 the range of a 32-bit signed integer.

 props Viper007Bond.
 fixes #24884.
 }}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24884#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list