Ticket #4692 (closed defect (bug): fixed)
Wordpress /edit-comments.php Database Error (Bug)
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.2.2 |
| Component: | Administration | Version: | 2.2.1 |
| Severity: | normal | Keywords: | has-patch |
| 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
Change History
- Keywords has-patch added
- Owner changed from anonymous to Nazgul
- Status changed from new to assigned
- Milestone set to 2.3 (trunk)
- Status changed from assigned to closed
- Resolution set to fixed
comment:4
markjaquith — 5 years ago
comment:5
markjaquith — 5 years ago
comment:7
markjaquith — 5 years ago
Doh... That last one was for #4691
comment:8
BenjaminFlesch — 5 years ago
thanks for all your patches, guys, when may i expect an updated version?
-benjamin
Note: See
TracTickets for help on using
tickets.

