#4692 closed defect (bug) (fixed)
Wordpress /edit-comments.php Database Error (Bug)
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.2.2 | Priority: | normal |
Severity: | normal | Version: | 2.2.1 |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description
In /edit-comments.php, the parameter apage is not properly sanitized before it is used to calculate the rows from which Wordpress tries to pull the comments from.
So in case apage has a negative numerical value, Wordpress throws a Database Error caused by an corrupted SQL Query which can be seen in the picture. It tries to SELECT all data from the table between rows -40 and 25, and this - of course - does not work ;)
Attachments (2)
Change History (10)
Note: See
TracTickets for help on using
tickets.
(In [5836]) Absolute numbers where we will never allow negatives, fixes #4692