summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaxmikant Rashinkar <LK.Rashinkar@gmail.com>2014-07-28 17:25:22 -0700
committerLaxmikant Rashinkar <LK.Rashinkar@gmail.com>2014-07-28 17:25:22 -0700
commitad4bea9a6e68374da79bc2f22e10b6e1103e492b (patch)
treeff4890c34125a7f6699961f5b98c2499180539b9
parent29b2e42279e1ad9e8b0e371b5a13accb1d6843df (diff)
downloadxrdp-proprietary-ad4bea9a6e68374da79bc2f22e10b6e1103e492b.tar.gz
xrdp-proprietary-ad4bea9a6e68374da79bc2f22e10b6e1103e492b.zip
coverity: fixed missing break in switch
-rw-r--r--rdp/rdp_bitmap.c3
-rw-r--r--rdp/rdp_lic.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/rdp/rdp_bitmap.c b/rdp/rdp_bitmap.c
index 0963588f..4ba821d3 100644
--- a/rdp/rdp_bitmap.c
+++ b/rdp/rdp_bitmap.c
@@ -164,6 +164,7 @@ bitmap_decompress1(char *output, int width, int height, char *input, int size)
break;
case 8: /* Bicolor */
color1 = CVAL(input);
+ /* fall through is intentional */
case 3: /* Color */
color2 = CVAL(input);
break;
@@ -435,6 +436,7 @@ bitmap_decompress2(char *output, int width, int height, char *input, int size)
case 8: /* Bicolor */
color1[EIK0] = CVAL(input);
color1[EIK1] = CVAL(input);
+ /* fall through is intentional */
case 3: /* Color */
color2[EIK0] = CVAL(input);
color2[EIK1] = CVAL(input);
@@ -752,6 +754,7 @@ bitmap_decompress3(char *output, int width, int height, char *input, int size)
color1[0] = CVAL(input);
color1[1] = CVAL(input);
color1[2] = CVAL(input);
+ /* fall through is intentional */
case 3: /* Color */
color2[0] = CVAL(input);
color2[1] = CVAL(input);
diff --git a/rdp/rdp_lic.c b/rdp/rdp_lic.c
index 5c61ed00..2441bc7f 100644
--- a/rdp/rdp_lic.c
+++ b/rdp/rdp_lic.c
@@ -175,9 +175,9 @@ rdp_lic_process_demand(struct rdp_lic *self, struct stream *s)
g_memset(null_data, 0, sizeof(null_data));
rdp_lic_generate_keys(self, null_data, server_random, null_data);
+#if 0
licence_size = 0; /* todo load_licence(&licence_data); */
-#if 0
if (licence_size > 0)
{
/* Generate a signature for the HWID buffer */