mirror of https://github.com/BOINC/boinc.git
- client: fix bug that crashed client if client_state.xml
had garbage within <file_info> svn path=/trunk/boinc/; revision=19525
This commit is contained in:
parent
45aef88650
commit
74c0223861
|
@ -8998,3 +8998,10 @@ David 9 Nov 2009
|
|||
log_flags.cpp
|
||||
sched/
|
||||
sched_locality.cpp
|
||||
|
||||
David 9 Nov 2009
|
||||
- client: fix bug that crashed client if client_state.xml
|
||||
had garbage within <file_info>
|
||||
|
||||
client/
|
||||
client_types.cpp
|
||||
|
|
|
@ -789,7 +789,7 @@ int FILE_INFO::parse(MIOFILE& in, bool from_server) {
|
|||
continue;
|
||||
}
|
||||
|
||||
strcat(signed_xml, buf);
|
||||
safe_strcat(signed_xml, buf);
|
||||
if (parse_str(buf, "<name>", name, sizeof(name))) continue;
|
||||
if (parse_str(buf, "<url>", url)) {
|
||||
urls.push_back(url);
|
||||
|
|
Loading…
Reference in New Issue