Closed Bug 933487 Opened 11 years ago Closed 11 years ago

[traceback] ValueError: invalid literal for int() with base 10: 'meow' by fuzzing ?page= param for /exploitability

Categories

(Socorro :: Webapp, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: peterbe)

References

()

Details

Attachments

(2 files)

STR:

Load https://crash-stats.allizom.org/report/exploitability/?page=meow

Actual:

ValueError: invalid literal for int() with base 10: 'meow'

Stacktrace (most recent call last):

  File "django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "crashstats/crashstats/decorators.py", line 48, in inner
    return view(request, *args, **kwargs)
  File "django/contrib/auth/decorators.py", line 20, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "crashstats/crashstats/views.py", line 838, in exploitable_crashes
    page = max(1, int(request.GET.get('page', 1)))

Errormill: https://errormill.mozilla.org/webtools/socorro-stage/group/126887/
Assignee: nobody → peterbe
Status: NEW → ASSIGNED
Attached file Github PR
Commit pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/c59ce6da8321a52de4bd971dd67e1a3ab53d87ad
fixes bug 933487 - fuzzing ?page param for /exploitability, r=rhelmer
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Thx Peter; verified fixed on https://crash-stats.allizom.org/report/exploitability/?page=meow
Status: RESOLVED → VERIFIED
Target Milestone: --- → 65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: