From fc02000b89e74de351a784354ccbb00dbe64fc59 Mon Sep 17 00:00:00 2001 From: Quentin Rouland Date: Tue, 4 Feb 2025 16:36:00 +0100 Subject: [PATCH] Fix decrypt issue --- plugins/Pass/jobs/decryptjob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Pass/jobs/decryptjob.cpp b/plugins/Pass/jobs/decryptjob.cpp index b89179b..37fce08 100644 --- a/plugins/Pass/jobs/decryptjob.cpp +++ b/plugins/Pass/jobs/decryptjob.cpp @@ -35,7 +35,7 @@ void DecryptJob::run() ret = rnp_output_memory_get_buf(output, &buf, &buf_len, false); } if (ret == RNP_SUCCESS) { - data = QString::fromUtf8((char*)buf); + data = QString::fromUtf8((char*)buf, buf_len); } rnp_input_destroy(input);