Herongguang (Stephen)
3f7e51bca3
vnc-enc-tight: fix off-by-one bug
...
In tight_encode_indexed_rect32, buf(or src)’s size is count. In for loop,
the logic is supposed to be that i is an index into src, i should be
incremented when incrementing src.
This is broken when src is incremented but i is not before while loop,
resulting in off-by-one bug in while loop.
Signed-off-by: He Rongguang <herongguang.he@huawei.com>
Message-id: 5784B8EB.7010008@huawei.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2016-07-15 12:11:55 +02:00
..
2015-05-05 10:48:22 +02:00
2016-05-18 15:04:27 +03:00
2016-06-10 11:13:59 +02:00
2016-07-06 10:32:14 +02:00
2016-07-12 16:20:46 +02:00
2016-02-04 17:01:04 +00:00
2016-06-20 16:38:13 +02:00
2016-02-04 17:01:04 +00:00
2016-06-03 08:23:26 +02:00
2016-07-06 10:32:14 +02:00
2016-07-11 10:40:29 +01:00
2016-06-10 11:13:15 +02:00
2016-03-18 10:29:26 +01:00
2016-03-18 10:29:26 +01:00
2016-07-12 09:25:50 +02:00
2016-03-18 10:29:26 +01:00
2016-02-04 17:01:04 +00:00
2016-07-12 16:20:46 +02:00
2016-03-08 12:20:11 +01:00
2016-06-20 16:38:13 +02:00
2016-06-03 08:23:26 +02:00
2016-07-06 10:32:14 +02:00
2016-02-04 17:01:04 +00:00
2014-09-16 08:07:05 +02:00
2016-06-03 08:23:26 +02:00
2016-06-07 18:19:24 +03:00
2016-07-12 16:20:46 +02:00
2016-03-22 22:20:17 +01:00
2016-05-12 16:41:46 +02:00
2016-06-03 08:23:26 +02:00
2016-07-06 10:32:14 +02:00
2016-03-01 08:19:07 +01:00
2016-06-20 17:22:17 +01:00
2015-03-10 08:15:34 +03:00
2016-03-22 22:20:15 +01:00
2016-07-12 16:20:46 +02:00
2016-03-22 22:20:15 +01:00
2016-07-12 16:20:46 +02:00
2016-02-04 17:01:04 +00:00
2016-07-15 12:11:55 +02:00
2016-07-12 16:19:16 +02:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2016-07-12 16:19:16 +02:00
2016-02-04 17:01:04 +00:00
2016-07-12 16:19:16 +02:00
2016-02-04 17:01:04 +00:00
2015-03-10 08:15:33 +03:00
2016-06-07 18:19:24 +03:00
2016-02-23 12:43:05 +00:00
2016-05-19 16:42:28 +02:00
2016-07-12 16:20:46 +02:00
2016-07-15 12:00:06 +02:00
2016-07-12 16:20:46 +02:00
2016-02-04 17:01:04 +00:00