spice-common/common
Frediano Ziglio 5173ff871a lz: More checks on image sizes
Extend sizes check also to decoding, actually the source data
decoding images should be less safe than encoding.
This avoids different integer overflows and buffer overflows.
To avoid potential issues images are limited to 1GB.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
2019-01-08 21:27:45 +00:00
..
backtrace.c build: Remove spice_common.h 2018-07-06 06:46:15 +01:00
backtrace.h Unify headers guard names 2018-11-26 11:20:57 +00:00
canvas_base.c canvas_base: Change spice_warning to g_warning 2018-07-12 05:48:12 +01:00
canvas_base.h Unify headers guard names 2018-11-26 11:20:57 +00:00
canvas_utils.c build: Remove spice_common.h 2018-07-06 06:46:15 +01:00
canvas_utils.h Unify headers guard names 2018-11-26 11:20:57 +00:00
client_marshallers.h Unify headers guard names 2018-11-26 11:20:57 +00:00
demarshallers.h Unify headers guard names 2018-11-26 11:20:57 +00:00
draw.h Unify headers guard names 2018-11-26 11:20:57 +00:00
lines.c miLineArc(): initialize edge1, edge2 2018-05-10 10:05:41 -05:00
lines.h Unify headers guard names 2018-11-26 11:20:57 +00:00
log.c log: Remove SPICE_DISABLE_ABORT 2018-07-06 06:46:05 +01:00
log.h log: Use proper format attribute for spice_log 2019-01-02 14:00:23 +00:00
lz_common.h Unify headers guard names 2018-11-26 11:20:57 +00:00
lz_compress_tmpl.c lz: Inline GET_{r,g,b} macros 2018-05-25 11:54:18 +01:00
lz_config.h Unify headers guard names 2018-11-26 11:20:57 +00:00
lz_decompress_tmpl.c lz: Simplify code 2018-01-18 10:08:43 +00:00
lz.c lz: More checks on image sizes 2019-01-08 21:27:45 +00:00
lz.h Unify headers guard names 2018-11-26 11:20:57 +00:00
macros.h Unify headers guard names 2018-11-26 11:20:57 +00:00
Makefile.am utils: Add genum -> string helpers 2018-11-23 10:25:01 +00:00
marshaller.c marshaller: Provide spice_marshaller_fill_iovec for Windows 2019-01-08 13:05:20 +00:00
marshaller.h marshaller: Provide spice_marshaller_fill_iovec for Windows 2019-01-08 13:05:20 +00:00
mem.c build: Remove spice_common.h 2018-07-06 06:46:15 +01:00
mem.h Unify headers guard names 2018-11-26 11:20:57 +00:00
meson.build utils: Add genum -> string helpers 2018-11-23 10:25:01 +00:00
messages.h Unify headers guard names 2018-11-26 11:20:57 +00:00
pixman_utils.c pixman: Use g_error() rather than g_abort() 2018-07-06 18:11:54 +02:00
pixman_utils.h Unify headers guard names 2018-11-26 11:20:57 +00:00
quic_config.h Unify headers guard names 2018-11-26 11:20:57 +00:00
quic_family_tmpl.c quic: Call encode from golomb_coding 2018-07-03 19:37:39 +01:00
quic_tmpl.c quic: Unify rgb/non-rgb macro declarations 2018-07-10 10:34:57 +01:00
quic.c quic: Prevent side effects calling C macros 2018-09-10 12:44:17 +02:00
quic.h Unify headers guard names 2018-11-26 11:20:57 +00:00
rect.h Unify headers guard names 2018-11-26 11:20:57 +00:00
region.c test-region: Create proper test for region from source code 2018-06-27 13:17:41 +01:00
region.h Unify headers guard names 2018-11-26 11:20:57 +00:00
ring.h Unify headers guard names 2018-11-26 11:20:57 +00:00
rop3.c build: Remove spice_common.h 2018-07-06 06:46:15 +01:00
rop3.h Unify headers guard names 2018-11-26 11:20:57 +00:00
snd_codec.c snd: Replace spice_printerr() use with g_warning 2018-06-28 13:39:52 +02:00
snd_codec.h Unify headers guard names 2018-11-26 11:20:57 +00:00
ssl_verify.c Use a single copy of subject string 2018-12-19 11:31:13 +00:00
ssl_verify.h Unify headers guard names 2018-11-26 11:20:57 +00:00
sw_canvas.c swcanvas: Remove canvas_create() 2018-07-04 10:04:02 +02:00
sw_canvas.h Unify headers guard names 2018-11-26 11:20:57 +00:00
utils.c utils: Add genum -> string helpers 2018-11-23 10:25:01 +00:00
utils.h utils: Add genum -> string helpers 2018-11-23 10:25:01 +00:00
verify.h Adjust verify.h licence 2016-06-21 12:26:38 +02:00