From f088df311f3df44cb9726445d17136035de36055 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Sat, 8 Aug 2009 03:10:41 +0000 Subject: [PATCH] client fix crash bug introduced by changing PROXY_INFO strings from char[] to std::string svn path=/trunk/boinc/; revision=18821 --- checkin_notes | 3 +++ client/app_start.cpp | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/checkin_notes b/checkin_notes index 4b38c27c5e..8029344171 100644 --- a/checkin_notes +++ b/checkin_notes @@ -6792,10 +6792,13 @@ Rom 7 Aug 2009 proxy_info.cpp, .h Charlie 7 Aug 2009 + - client fix crash bug introduced by changing PROXY_INFO strings + from char[] to std::string. - client: fix compiler warnings "call will abort at run time." - Sandbox: add a couple of casts for compiler warnings. client/ + app_start.cpp check_security.cpp client_state.cpp http_curl.cpp diff --git a/client/app_start.cpp b/client/app_start.cpp index a29adc9a71..42be6741cb 100644 --- a/client/app_start.cpp +++ b/client/app_start.cpp @@ -251,8 +251,6 @@ int ACTIVE_TASK::write_app_init_file() { char init_data_path[256], project_dir[256], project_path[256]; int retval; - memset(&aid, 0, sizeof(aid)); - aid.major_version = BOINC_MAJOR_VERSION; aid.minor_version = BOINC_MINOR_VERSION; aid.release = BOINC_RELEASE;