Closed Bug 1463586 Opened 7 years ago Closed 27 days ago

nestegg: value is outside the range of representable values of type 'unsigned long' in [@ ne_read_block]

Categories

(Core :: Audio/Video: Playback, defect, P3)

Firefox 151
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox151 --- fixed

People

(Reporter: tsmith, Assigned: kinetik)

References

Details

(Keywords: testcase)

Attachments

(2 files)

Attached video testcase.webm
nestegg (test) was build unsing the following config command: CFLAGS="-fsanitize=integer" CC=clang ./configure --enable-static --disable-shared https://github.com/kinetiknz/nestegg/blob/fuzzing/src/nestegg.c#L1563 src/nestegg.c:1563:19: runtime error: value 1.84467e+19 is outside the range of representable values of type 'unsigned long' #0 0x52f22e in ne_read_block src/nestegg.c:1563:19 #1 0x52651c in nestegg_read_packet src/nestegg.c:2774:11 #2 0x50f72d in test test/regress.c:205:9 #3 0x510f14 in main test/regress.c:298:5 #4 0x7fd36799d82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f) #5 0x419a68 in _start (regress+0x419a68)
Assignee: nobody → kinetik
Similar to bug 1462194 comment 1. I think we'll replace the timestamp calculations with a version that explicitly saturates.
Priority: -- → P3
Severity: normal → S3
Attached file GitHub Pull Request
Attachment #9559586 - Flags: review?(azebrowski)
Status: NEW → ASSIGNED
Blocks: 1462194
Blocks: 1462191
Blocks: 1462189
Blocks: 1462188
No longer blocks: 1462188, 1462189, 1462191, 1462194
Depends on: 2027946

Comment on attachment 9559586 [details] [review]
GitHub Pull Request

Clearing r?, already reviewed upstream.

Attachment #9559586 - Flags: review?(azebrowski)
Status: ASSIGNED → RESOLVED
Closed: 27 days ago
Resolution: --- → FIXED
Version: unspecified → Firefox 151
QA Whiteboard: [qa-triage-done-c152/b151]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: