Open Bug 1446871 Opened 7 years ago Updated 2 years ago

UBSan: vorbis: invalid left shift lib/sharedbook.c:417

Categories

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

defect

Tracking

()

People

(Reporter: tsmith, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: csectype-undefined, testcase)

Attachments

(1 file)

Attached video testcase.ogg
Found in vorbis commit d22c3ab sharedbook.c:417:30: runtime error: left shift of 16 by 27 places cannot be represented in type 'int' #0 0x548a99 in vorbis_book_init_decode lib/sharedbook.c:406:38 #1 0x4ef08c in _vds_shared_init lib/block.c:240:12 #2 0x4faa44 in vorbis_synthesis_init lib/block.c:709:6 #3 0x4eb3c5 in main examples/decoder_example.c:200:8 #4 0x7f6ee5a5b82f in __libc_start_main /build/glibc-Cl5G7W/glibc-2.23/csu/../csu/libc-start.c:291 #5 0x419528 in _start (decoder_example_ub+0x419528)
Thomas do you have time to look at this?
Rank: 15
Flags: needinfo?(tdaede)
Priority: -- → P2
Flags: needinfo?(tdaede)
Priority: P2 → P3
Blocks: ubsan
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: