[pkg-remote-commits] [xrdp] 03/03: Update highres patch.
Dominik George
natureshadow-guest at moszumanska.debian.org
Fri Feb 17 13:05:54 UTC 2017
This is an automated email from the git hooks/post-receive script.
natureshadow-guest pushed a commit to branch master
in repository xrdp.
commit a9f0c7a3360f3339a8d45a79bc6773a268bb7cdb
Author: Dominik George <nik at naturalnet.de>
Date: Fri Feb 17 14:01:13 2017 +0100
Update highres patch.
---
debian/patches/highres.diff | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/patches/highres.diff b/debian/patches/highres.diff
index d4d3e6b..8bf64ba 100644
--- a/debian/patches/highres.diff
+++ b/debian/patches/highres.diff
@@ -17,7 +17,7 @@ Bug: https://github.com/neutrinolabs/xrdp/issues/524
#ifdef XRDP_RFXCODEC
#include "rfxcodec_encode.h"
-@@ -320,21 +321,24 @@ process_enc_rfx(struct xrdp_encoder *sel
+@@ -320,21 +321,25 @@ process_enc_rfx(struct xrdp_encoder *sel
mutex = self->mutex;
event_processed = self->xrdp_encoder_event_processed;
@@ -28,7 +28,8 @@ Bug: https://github.com/neutrinolabs/xrdp/issues/524
+ if ((enc->num_crects > (INT_MAX / sizeof(struct rfx_tile))) ||
+ (enc->num_drects > (INT_MAX / sizeof(struct rfx_rect) -
+ sizeof(struct rfx_tile) * enc->num_crects -
-+ 256 - out_data_bytes))) {
++ 256 - out_data_bytes)) ||
++ (enc->num_crects < 0) || (enc->num_drects < 0)) {
return 0;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-remote/xrdp.git
More information about the pkg-remote-commits
mailing list