Opened 2 months ago

Closed 7 weeks ago

#10899 closed defect (fixed)

signed integer overflow at 'libavformat/avidec.c:1699'

Reported by: Sean McGovern Owned by:
Priority: normal Component: avformat
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
Many FATE tests trigger signed integer overflow on big-endian FATE nodes such as 'ppc-linux-gcc-13.2-ubsan-altivec-qemu'.

The output looks similar to the following:

src/libavformat/avidec.c:1699:55: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'long long int'

As the PowerPC FATE nodes are currently the only big-endian representation we have, it is unclear if this is only particular to this configuration.

Change History (2)

comment:1 by Sean McGovern, 2 months ago

Component: avfilteravformat

Oops, wrong component.

comment:2 by mkver, 7 weeks ago

Resolution: fixed
Status: newclosed

Fixed in 7a089ed8e049e3bfcb22de1250b86f2106060857. It was not due to endianness, but due to your system being 32bit.

Note: See TracTickets for help on using tickets.