1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
FFmpeg/libavutil
Mans Rullgard 88d1e2b2b0 intfloat_readwrite: fix signed addition overflows
These additions might overflow the signed range for large
input values.  Converting to unsigned before the addition
rather than after avoids such undefined behaviour.  The
result under normal two's complement wraparound remains
unchanged.

Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-10-11 14:42:28 +01:00
..
arm ARM: allow building in Thumb2 mode 2011-06-23 07:31:54 +01:00
avr32 Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
bfin Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
mips Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
ppc configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS. 2011-05-12 11:41:59 +02:00
sh4 Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
tomi Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
x86 x86: XOP/FMA4 CPU detection support 2011-09-26 15:30:31 -07:00
adler32.c adler32: whitespace cosmetics 2011-06-30 16:50:27 +01:00
adler32.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
aes.c aes: allow unaligned input and output buffers 2011-07-04 11:07:15 +01:00
aes.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
attributes.h Add av_printf_format, for marking printf style format strings and their parameters 2011-06-23 20:17:44 +03:00
audioconvert.c audioconvert: add explanatory comments to channel_names array 2011-09-11 18:41:34 +02:00
audioconvert.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
avassert.h multiple inclusion guard cleanup 2011-05-21 13:48:10 +02:00
avstring.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
avstring.h Use av_printf_format to check the usage of printf style functions 2011-06-23 20:17:46 +03:00
avutil.h x86: XOP/FMA4 CPU detection support 2011-09-26 15:30:31 -07:00
base64.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
base64.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
bswap.h bswap.h: Remove disabled code. 2011-04-29 20:01:04 +02:00
colorspace.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
common.h doxygen: Consistently use '@' instead of '\' for Doxygen markup. 2011-06-24 00:37:49 +02:00
cpu.c x86: XOP/FMA4 CPU detection support 2011-09-26 15:30:31 -07:00
cpu.h x86: XOP/FMA4 CPU detection support 2011-09-26 15:30:31 -07:00
crc_data.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
crc.c crc: fix signed overflow 2011-10-09 16:53:31 +01:00
crc.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
des.c des: add possibility to calculate DES-CBC-MAC with small buffer 2011-09-21 08:28:20 +02:00
des.h des: add possibility to calculate DES-CBC-MAC with small buffer 2011-09-21 08:28:20 +02:00
dict.c dict: add AV_DICT_APPEND flag. 2011-06-16 20:24:56 +02:00
dict.h dict: extend documentation. 2011-07-08 18:29:27 +02:00
error.c error: sort, pack, and align error code and string definitions 2011-04-21 16:48:29 +02:00
error.h error: sort, pack, and align error code and string definitions 2011-04-21 16:48:29 +02:00
eval.c eval: test isnan(sqrt(-1)) instead of just sqrt(-1) 2011-09-22 08:13:55 +02:00
eval.h lavu: remove FF_API_OLD_EVAL_NAMES cruft 2011-04-19 19:03:44 +02:00
fifo.c fifo: add FIFO API test program, and fate test 2011-08-26 20:54:36 +02:00
fifo.h doxygen: drop another pointless star from pointer variable name 2011-08-27 14:00:54 +02:00
file.c Do not include log.h in avutil.h 2011-07-03 21:42:07 +01:00
file.h doxygen: fix usage of @file directive in libavutil/{dict,file}.h 2011-07-01 15:12:33 +02:00
imgutils.c Do not include log.h in avutil.h 2011-07-03 21:42:07 +01:00
imgutils.h doxygen: Drop array size declarations from Doxygen parameter names. 2011-07-03 18:30:02 +02:00
internal.h Move metadata API from lavf to lavu. 2011-06-08 07:43:45 +02:00
intfloat_readwrite.c intfloat_readwrite: fix signed addition overflows 2011-10-11 14:42:28 +01:00
intfloat_readwrite.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
intmath.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
intreadwrite.h intreadwrite.h: fix AV_RL32/AV_RB32 signedness. 2011-06-16 20:49:19 +02:00
inverse.c inverse.c: Replace unnecessary intmath.h header by necessary stdint.h. 2011-06-07 10:31:26 +02:00
lfg.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
lfg.h doxygen: Drop array size declarations from Doxygen parameter names. 2011-07-03 18:30:02 +02:00
libavutil.v
libm.h Provide a fallback version of the libm function trunc 2011-04-21 14:13:09 +03:00
lls.c lls: use av_lfg instead of rand() in test program 2011-07-11 21:09:27 +01:00
lls.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
log.c log: Fix an oob array read. 2011-05-08 13:34:05 -07:00
log.h Use av_printf_format to check the usage of printf style functions 2011-06-23 20:17:46 +03:00
lzo.c doxygen: Consistently use '@' instead of '\' for Doxygen markup. 2011-06-24 00:37:49 +02:00
lzo.h doxygen: Prefer member groups over grouping into modules 2011-07-02 13:52:29 +02:00
Makefile fifo: add FIFO API test program, and fate test 2011-08-26 20:54:36 +02:00
mathematics.c avutil: Remove unused arbitrary precision integer code. 2011-06-28 13:14:46 +02:00
mathematics.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
md5.c md5: cosmetics 2011-07-03 18:19:19 +01:00
md5.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
mem.c Increase alignment of av_malloc() as needed by AVX ASM. 2011-04-26 18:18:22 +02:00
mem.h mem.h: switch doxygen parameter order to match function prototype 2011-07-15 02:01:22 +02:00
opt.c AVOptions: refactor set_number/write_number 2011-10-10 20:27:31 +02:00
opt.h AVOptions: split av_set_string3 into opt type-specific functions 2011-10-10 20:27:30 +02:00
parseutils.c doxygen: Make sure parameter names match between .c and .h files. 2011-07-14 04:09:49 +02:00
parseutils.h doxygen: Make sure parameter names match between .c and .h files. 2011-07-14 04:09:49 +02:00
pixdesc.c pix_fmt: Fix number of bits per component in yuv444p9be 2011-07-12 08:13:56 -07:00
pixdesc.h lavu: add av_get_pix_fmt_name() convenience function 2011-05-28 09:44:18 -04:00
pixfmt.h pixfmt: fix YUV422/444 wrong endian comment 2011-06-29 11:56:56 +02:00
random_seed.c random_seed: use proper #includes 2011-07-17 20:47:39 +01:00
random_seed.h avutil: elaborate documentation for av_get_random_seed 2011-06-30 21:19:16 +02:00
rational.c rational-test: Add proper main() declaration to fix gcc warnings. 2011-06-30 01:35:47 +02:00
rational.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
rc4.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
rc4.h doxygen: Consistently use '@' instead of '\' for Doxygen markup. 2011-06-24 00:37:49 +02:00
samplefmt.c samplefmt: add av_get_bytes_per_sample() 2011-06-07 13:06:41 -04:00
samplefmt.h samplefmt: add av_get_bytes_per_sample() 2011-06-07 13:06:41 -04:00
sha.c sha: use AV_RB32() instead of assuming buffer can be cast to uint32_t* 2011-07-04 11:16:52 +01:00
sha.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
timer.h doxygen: do not include license boilerplate in Doxygen documentation 2011-07-15 00:52:09 +02:00
tree.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
tree.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
utils.c lavc: deprecate FF_*_TYPE macros in favor of AV_PICTURE_TYPE_* enums 2011-04-26 08:38:57 +02:00
x86_cpu.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00