xrdp/libxrdp
Pavel Roskin 380729e982 Fix a warning in jpeg compression code with --enable-jpeg
If the image width is not divisible by 4, the image is padded to the next
multiple of 4. The additional pixels are filled with the colors of the
last pixel in the row.

The last pixel colors may not be initialized if the width is 0. In this
case, the would be no padding, but the compiler doesn't know that.

Add a check that the width is more that 0 before filling the padding.
2016-12-14 22:35:08 -08:00
..
libxrdp.c Fix warnings detected by -Wwrite-strings 2016-07-08 04:29:42 +00:00
libxrdp.h Typo fixes 2016-05-04 23:33:30 -07:00
libxrdpinc.h Fix warnings detected by -Wwrite-strings 2016-07-08 04:29:42 +00:00
Makefile.am Get rid of EXTRA_LIBS, use variables with more specific names 2016-10-20 10:43:02 -07:00
xrdp_bitmap32_compress.c libxrdp: planar unroll delta 2014-06-23 20:41:29 -07:00
xrdp_bitmap_compress.c libxrdp: not logic change, comments 2014-02-15 20:37:10 -08:00
xrdp_caps.c Merge pull request #536 from jsorg71/unicode 2016-12-11 17:15:34 -08:00
xrdp_channel.c Run through codespell 2016-01-14 08:47:50 -08:00
xrdp_fastpath.c change some magics to defines 2016-12-10 01:06:45 -08:00
xrdp_iso.c Don't select SSL protocol if no keys, fall back to RDP for "hybrid" 2016-11-28 00:18:33 -08:00
xrdp_jpeg_compress.c Fix a warning in jpeg compression code with --enable-jpeg 2016-12-14 22:35:08 -08:00
xrdp_mcs.c Fix incorrect use of "it's" and "its", adjust wording 2016-06-21 16:30:15 -07:00
xrdp_mppc_enc.c libxrdp: minor mppc compressor change 2014-07-04 13:56:57 -07:00
xrdp_orders_rail.c libxrdp: rail fix for when no flags are set 2015-12-11 20:05:40 -08:00
xrdp_orders_rail.h no logic change, indent 2014-06-02 22:00:51 -07:00
xrdp_orders.c Fix incorrect use of "it's" and "its", adjust wording 2016-06-21 16:30:15 -07:00
xrdp_rdp.c Recognize security_layer=negotiate in xrdp.ini, improve logging 2016-11-27 23:49:32 -08:00
xrdp_sec.c libxrdp: warn when using 512 bit key 2016-11-11 22:29:54 -08:00
xrdp_surface.c copyright year update 2013-06-08 10:51:53 -07:00