summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaxmikant Rashinkar <LK.Rashinkar@gmail.com>2014-07-26 15:51:41 -0700
committerLaxmikant Rashinkar <LK.Rashinkar@gmail.com>2014-07-26 15:51:41 -0700
commit119fd3031ce4a71dabb09ae41429776335b2105e (patch)
tree7acea8073f6c3dee118c767497a8ed5b3a26d206
parent67119ecc81dd334aa767a56ef8d9d691d480d7c0 (diff)
downloadxrdp-proprietary-119fd3031ce4a71dabb09ae41429776335b2105e.tar.gz
xrdp-proprietary-119fd3031ce4a71dabb09ae41429776335b2105e.zip
buffer not null terminated
-rw-r--r--xrdpapi/xrdpapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xrdpapi/xrdpapi.c b/xrdpapi/xrdpapi.c
index c4a0f676..7e9eaa0c 100644
--- a/xrdpapi/xrdpapi.c
+++ b/xrdpapi/xrdpapi.c
@@ -41,7 +41,7 @@ struct wts_obj
{
int fd;
int status;
- char name[8];
+ char name[9];
char dname[128];
int display_num;
uint32_t flags;