]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/debugrpt.cpp
fixing overrelease and out-of-bounds write, fixes #13725
[wxWidgets.git] / src / common / debugrpt.cpp
index a903051fcf1a4e4c6e5b463fe0f103010fe3a87d..d98c9cb044b855c784658ac98e2c9abb1454bd3e 100644 (file)
@@ -687,7 +687,7 @@ bool wxDebugReportUpload::DoProcess()
     wxArrayString output, errors;
     int rc = wxExecute(wxString::Format
                        (
-                            wxT("%s -F %s=@\"%s\" %s"),
+                            wxT("%s -F \"%s=@%s\" %s"),
                             m_curlCmd.c_str(),
                             m_inputField.c_str(),
                             GetCompressedFileName().c_str(),