1
Index: spice-0.12.0/spice-common/common/backtrace.c
2
===================================================================
3
--- spice-0.12.0.orig/spice-common/common/backtrace.c 2012-08-22 16:33:04.000000000 +0000
4
+++ spice-0.12.0/spice-common/common/backtrace.c 2013-02-01 19:28:10.127899552 +0000
10
+ if (seteuid(0)) /* ERROR */
14
dup2(pipefd[1],STDOUT_FILENO);
15
Index: spice-0.12.0/spice-common/common/lz_compress_tmpl.c
16
===================================================================
17
--- spice-0.12.0.orig/spice-common/common/lz_compress_tmpl.c 2012-09-02 17:52:16.000000000 +0000
18
+++ spice-0.12.0/spice-common/common/lz_compress_tmpl.c 2013-02-01 19:57:28.051899552 +0000
21
// fetch the first image segment that is not too small
22
while (cur_seg && ((((PIXEL *)cur_seg->lines_end) - ((PIXEL *)cur_seg->lines)) < 4)) {
23
- ip_start = cur_seg->lines;
24
+ ip_start = (PIXEL *) cur_seg->lines;
26
if (cur_seg->lines != cur_seg->lines_end) {
27
ip = (PIXEL *)cur_seg->lines;