Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-60664

Check PHP_INT_MAX when storing numeric fields coming from site settings

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.3.2
    • Fix Version/s: None
    • Labels:
    • Affected Branches:
      MOODLE_33_STABLE

      Description

      In some admin settings users are able to enter numeric values in text fields, we need to be sure that we are storing in the databases integeres <= PHP_INT_MAX to don't break Web Services or to use numeric values that the system can manage.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jleyva Juan Leyva
                Participants:
                Component watchers:
                Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Jake Dallimore, Jun Pataleta
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: