[epiphany/gnome-42] sync-service: fix memory corruption caused by sync failure
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/gnome-42] sync-service: fix memory corruption caused by sync failure
- Date: Fri, 27 May 2022 15:50:46 +0000 (UTC)
commit e9b0a7e1d6000c08c58ffa2dc0e7c1175a7f6160
Author: Michael Catanzaro <mcatanzaro redhat com>
Date: Sun May 22 09:09:54 2022 -0500
sync-service: fix memory corruption caused by sync failure
https://bugzilla.redhat.com/show_bug.cgi?id=2088965
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1115>
(cherry picked from commit adc02a8cb0a087f2389d7fa1790cac3361718095)
lib/sync/ephy-sync-service.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/sync/ephy-sync-service.c b/lib/sync/ephy-sync-service.c
index 265443b52..815c147c7 100644
--- a/lib/sync/ephy-sync-service.c
+++ b/lib/sync/ephy-sync-service.c
@@ -2704,7 +2704,7 @@ verify_storage_version_cb (SoupSession *session,
goto out_no_error;
out_error:
- message = message ? message : _("Failed to verify storage version.");
+ message = message ? message : g_strdup (_("Failed to verify storage version."));
ephy_sync_service_report_sign_in_error (self, message, NULL, TRUE);
out_no_error:
if (parser)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]