libwebp/src/enc
James Zern 80237c4371 GetHistoBits: fix integer overflow
huff_image_size was a size_t (=32 bits with 32-bit builds) which could
rollover causing an incorrectly sized allocation and a crash in lossless
encoding.
fixes issue #128

Change-Id: I175c8c6132ba9792034807c5c1028dfddfeb4ea5
2012-10-03 12:17:52 -07:00
..
alpha.c silence one more warning 2012-08-02 17:50:12 -07:00
analysis.c detect and merge similar segments 2012-10-01 21:18:03 +02:00
backward_references.c fix the -g/O3 discrepancy for 32bit compile 2012-10-03 15:15:58 +02:00
backward_references.h msvc: add intrinsic based BitsLog2Floor 2012-06-19 16:14:54 -07:00
config.c Add image-hint for low-color images. 2012-07-31 23:11:19 -07:00
cost.c Only recompute level_cost_[] when needed 2012-01-25 07:52:34 -08:00
cost.h use 16bit counters for recording proba counts 2012-01-23 17:50:58 -08:00
filter.c add -print_psnr and -print_ssim options to cwebp. 2012-01-20 07:37:29 -08:00
frame.c detect and merge similar segments 2012-10-01 21:18:03 +02:00
histogram.c remove use of log2(). Use VP8LFastLog2() instead. 2012-08-02 00:08:58 -07:00
histogram.h remove use of log2(). Use VP8LFastLog2() instead. 2012-08-02 00:08:58 -07:00
iterator.c Fix floating point exception with cwebp -progress 2012-06-18 15:43:28 -07:00
layer.c cosmetics: normalize copyright headers 2012-01-06 14:49:06 -08:00
Makefile.am Enable lossless encoder code 2012-06-13 00:26:58 -07:00
picture.c move some RGB->YUV functions to yuv.h 2012-08-02 17:23:02 -07:00
quant.c detect and merge similar segments 2012-10-01 21:18:03 +02:00
syntax.c make width/height coding match the spec 2012-06-28 00:20:28 -07:00
tree.c Only recompute level_cost_[] when needed 2012-01-25 07:52:34 -08:00
vp8enci.h new segmentation algorithm 2012-09-04 23:09:15 +02:00
vp8l.c GetHistoBits: fix integer overflow 2012-10-03 12:17:52 -07:00
vp8li.h add stats for lossless 2012-07-24 16:17:13 -07:00
webpenc.c harness some malloc/calloc to use WebPSafeMalloc and WebPSafeCalloc 2012-08-01 12:06:04 -07:00