[Bug 18642] New: Handle timestamp overflow in append(data)

https://www.w3.org/Bugs/Public/show_bug.cgi?id=18642

           Summary: Handle timestamp overflow in append(data)
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Source Extensions
        AssignedTo: adrianba@microsoft.com
        ReportedBy: philipj@opera.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-media@w3.org


http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#dom-append

There's already a check to trigger MEDIA_ERR_DECODE when any modified timestamp
would underflow (< 0) but nothing about how to handle overflow. This is
particularly likely with 32-bit timestamp fields, but can of course happen
regardlessly.

Suggestion: If any modified timestamp would overflow in the representation used
in the byte stream, trigger a MEDIA_ERR_DECODE.

In addition, the byte stream specs could place the necessary requirements to
make this situation as unlikely as possible.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 21 August 2012 14:34:26 UTC