Traffic Server
  1. Traffic Server
  2. TS-470

Age: headers > INT_MAX should be capped to 2^31

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.4
    • Component/s: HTTP
    • Labels:
      None

      Description

      We should cap Age: headers with a value > 2^31 to 2^31.

      (Discovered using Coadvisor).

      1. TS-470.diff
        4 kB
        Leif Hedstrom

        Activity

        Hide
        Leif Hedstrom added a comment -

        Proposed patch (v1).

        Show
        Leif Hedstrom added a comment - Proposed patch (v1).
        Hide
        Leif Hedstrom added a comment -

        Test this with Age: headers of

        Age: 2147483647

        and

        Age: 2147483648

        Show
        Leif Hedstrom added a comment - Test this with Age: headers of Age: 2147483647 and Age: 2147483648

          People

          • Assignee:
            Leif Hedstrom
            Reporter:
            Leif Hedstrom
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development