{"action":"opened","issue":{"url":"https://api.github.com/repos/BOINC/boinc-ng/issues/1009","labels_url":"https://api.github.com/repos/BOINC/boinc-ng/issues/1009/labels{/name}","comments_url":"https://api.github.com/repos/BOINC/boinc-ng/issues/1009/comments","events_url":"https://api.github.com/repos/BOINC/boinc-ng/issues/1009/events","html_url":"https://github.com/BOINC/boinc-ng/issues/1009","id":56477539,"number":1009,"title":"Nonstandard usage of strcpy in str_util.cpp and url.cpp can result in mangled strings","user":{"login":"romw","id":985772,"avatar_url":"https://avatars.githubusercontent.com/u/985772?v=3","gravatar_id":"","url":"https://api.github.com/users/romw","html_url":"https://github.com/romw","followers_url":"https://api.github.com/users/romw/followers","following_url":"https://api.github.com/users/romw/following{/other_user}","gists_url":"https://api.github.com/users/romw/gists{/gist_id}","starred_url":"https://api.github.com/users/romw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romw/subscriptions","organizations_url":"https://api.github.com/users/romw/orgs","repos_url":"https://api.github.com/users/romw/repos","events_url":"https://api.github.com/users/romw/events{/privacy}","received_events_url":"https://api.github.com/users/romw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/BOINC/boinc-ng/labels/C:%20Undetermined","name":"C: Undetermined","color":"0000aa"},{"url":"https://api.github.com/repos/BOINC/boinc-ng/labels/P:%20Undetermined","name":"P: Undetermined","color":"aa8888"},{"url":"https://api.github.com/repos/BOINC/boinc-ng/labels/T:%20Defect","name":"T: Defect","color":"cccccc"}],"state":"open","locked":false,"assignee":{"login":"romw","id":985772,"avatar_url":"https://avatars.githubusercontent.com/u/985772?v=3","gravatar_id":"","url":"https://api.github.com/users/romw","html_url":"https://github.com/romw","followers_url":"https://api.github.com/users/romw/followers","following_url":"https://api.github.com/users/romw/following{/other_user}","gists_url":"https://api.github.com/users/romw/gists{/gist_id}","starred_url":"https://api.github.com/users/romw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romw/subscriptions","organizations_url":"https://api.github.com/users/romw/orgs","repos_url":"https://api.github.com/users/romw/repos","events_url":"https://api.github.com/users/romw/events{/privacy}","received_events_url":"https://api.github.com/users/romw/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/BOINC/boinc-ng/milestones/3","labels_url":"https://api.github.com/repos/BOINC/boinc-ng/milestones/3/labels","id":964209,"number":3,"title":"Undetermined","description":"Features for this release:\r\n\r\n * WIN: Streamline installer for mass deployments using either Installshield or WiX\r\n","creator":{"login":"romw","id":985772,"avatar_url":"https://avatars.githubusercontent.com/u/985772?v=3","gravatar_id":"","url":"https://api.github.com/users/romw","html_url":"https://github.com/romw","followers_url":"https://api.github.com/users/romw/followers","following_url":"https://api.github.com/users/romw/following{/other_user}","gists_url":"https://api.github.com/users/romw/gists{/gist_id}","starred_url":"https://api.github.com/users/romw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romw/subscriptions","organizations_url":"https://api.github.com/users/romw/orgs","repos_url":"https://api.github.com/users/romw/repos","events_url":"https://api.github.com/users/romw/events{/privacy}","received_events_url":"https://api.github.com/users/romw/received_events","type":"User","site_admin":false},"open_issues":181,"closed_issues":613,"state":"open","created_at":"2015-02-03T19:47:35Z","updated_at":"2015-02-04T04:05:32Z","due_on":"1970-01-01T00:00:00Z","closed_at":null},"comments":0,"created_at":"2015-02-04T04:05:32Z","updated_at":"2015-02-04T04:05:32Z","closed_at":null,"body":"**Reported by orion on 16 Feb 40902624 08:26 UTC**\nFrom forum discussions, seems to be happening primarily on 64-bit linux hosts.\r\n\r\nFound connecting to Leiden Classical:\r\n\r\nThe master file lists a scheduler with whitespace around the URL, also the file upload handler has whitespace around the URL. They both become mangled in the client_state.xml file, and as a result, BOINC cannot connect to the project properly.\r\n\r\nIn master_boinc.gorlaeus.net.xml:\r\n\r\n  <scheduler> !http://boinc.gorlaeus.net/Classical_c'''gi'''/cgi  </scheduler>\r\n\r\nbecomes in client_state.xml:\r\n\r\n  <scheduler_url>!http://boinc.gorlaeus.net/Classical_c'''i/'''/cgi </scheduler_url>\r\n\r\nIn sched_reply_boinc.gorlaeus.net.xml\r\n\r\n  <url> !http://boinc.gorlaeus.net/Classical_cgi/file_upload_h'''an'''dler  </url>\r\n\r\nbecomes in client_state.xml:\r\n\r\n  <url>!http://boinc.gorlaeus.net/Classical_cgi/file_upload_h'''nd'''dler </url>\r\n\r\nI focused on the whitespace, as none of the other projects I'm using have a whitespace, and it stuck out to me. No idea how to work the code, however.\n\nMigrated-From: http://boinc.berkeley.edu/trac/ticket/1033"}}