Leaklens

django__django-16667

SelectDateWidget can crash with OverflowError.

Verdict: the issue points to the file or function that was changed (Tier B).

The issue happens as part of the validation logic run in form.is_valid, specifically, when calling the SelectDateWidget.value_from_datadict, where the user-controlled value is converted into a date without guarding against a possible OverflowError.

The two checks disagreed (stated fix vs. points to it); the lower reading shown: “The issue happens as part of the validation logic run in form.is_valid, specifically, when calling the SelectDateWidget.value_from_datadict, where th…”

All SWE-bench Verified tasks · more django/django tasks · How the check works