W3C home > Mailing lists > Public > public-html-media@w3.org > August 2012

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 21 Aug 2012 14:34:25 +0000
To: public-html-media@w3.org
Message-ID: <bug-18642-5436@http.www.w3.org/Bugs/Public/>
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 on the CC list for the bug.
Received on Tuesday, 21 August 2012 14:34:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 15:48:25 UTC