commit 9bce1835789edee48869d9aed602eef008e1f144
parent 94e38cd121fb770d5513126ec888c463cdeab3b4
Author: cfillion <cfillion@users.noreply.github.com>
Date: Tue, 15 Dec 2015 20:41:04 -0800
zero-fill the remote file path buffer before using it
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/reapack.cpp b/src/reapack.cpp
@@ -90,6 +90,7 @@ void ReaPack::synchronize()
void ReaPack::importRemote()
{
char path[4096];
+ memset(path, 0, sizeof(path));
const char *title = "ReaPack: Import remote repository";
if(!GetUserFileNameForRead(path, title, "ReaPackRemote"))