From 4df9da5873749c85f50d49a94ae8f3ace4af57a6 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Wed, 20 Dec 2017 11:05:07 -0500 Subject: Fixed unpredictable media upload failure While uploading media worked in development, as well as on production when compiled in debug mode, it failed with memory corruption issues on production in release mode. This turned out to be because curlcpp was taking lvalue references to temporary std::string objects converted from string constants, instead of just copying the string pointer. --- vendor/curlcpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/curlcpp') diff --git a/vendor/curlcpp b/vendor/curlcpp index 687be1c..98df597 160000 --- a/vendor/curlcpp +++ b/vendor/curlcpp @@ -1 +1 @@ -Subproject commit 687be1c252dce098f488ca8a46d847dac4972310 +Subproject commit 98df5971b87295fad7c9a164c27b2bd34653a225 -- cgit 1.4.1 From d1d20515281e32b23657762e72bf37dcff14f0ab Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Wed, 20 Dec 2017 13:07:24 -0500 Subject: Switched back to upstream curlcpp because my pull request was merged --- .gitmodules | 2 +- vendor/curlcpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'vendor/curlcpp') diff --git a/.gitmodules b/.gitmodules index 9ad89e7..4f1abfd 100644 --- a/.gitmodules +++ b/.gitmodules @@ -3,4 +3,4 @@ url = https://github.com/hatkirby/liboauthcpp [submodule "vendor/curlcpp"] path = vendor/curlcpp - url = https://github.com/hatkirby/curlcpp + url = https://github.com/JosephP91/curlcpp diff --git a/vendor/curlcpp b/vendor/curlcpp index 98df597..7ff0b1b 160000 --- a/vendor/curlcpp +++ b/vendor/curlcpp @@ -1 +1 @@ -Subproject commit 98df5971b87295fad7c9a164c27b2bd34653a225 +Subproject commit 7ff0b1bf7d96169f268b73f5fa510ef3af0a1dc4 -- cgit 1.4.1