From ab38b6c9129e13e3de15cd98e226fc314f5c10a5 Mon Sep 17 00:00:00 2001 From: Nick Couchman Date: Thu, 16 Apr 2020 13:39:34 -0400 Subject: [PATCH] [WIP]: Fix upload path out-of-bounds error. --- src/protocols/rdp/upload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocols/rdp/upload.c b/src/protocols/rdp/upload.c index 5317edbc..960b5068 100644 --- a/src/protocols/rdp/upload.c +++ b/src/protocols/rdp/upload.c @@ -49,7 +49,7 @@ static void __generate_upload_path(const char* filename, char* path) { /* Add initial backslash */ *(path++) = '\\'; - for (i=1; i