Bug 690333

Summary: Badly formatted account manager requests
Product: [Fedora] Fedora Reporter: Thibault Nélis <thib>
Component: boinc-clientAssignee: Milos Jakubicek <xjakub>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 14CC: cheekyboinc, mmahut, xjakub
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: boinc-client-6.12.35-1.r24014svn.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-12 22:04:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Thibault Nélis 2011-03-23 23:47:04 UTC
Description of problem:
The client doesn't format /var/lib/boinc/acct_mgr_{login,request}.xml correctly (other files/memory regions may be affected).  From what I gather, the reason is the use of strcpy() on overlapping strings.

An upstream fix seems to have appeared here:
  > http://boinc.berkeley.edu/trac/changeset/23007/trunk/boinc/lib/str_util.cpp

The best discussion on the problem I could find can be found here (along with another unofficial version of the fix):
  > http://boincstats.com/forum/forum_thread.php?id=5912&sort=6

The most visible ensuing issue for me is the inability to synchronize with "BAM!".

Version-Release number of selected component (if applicable):
Version     : 6.10.58                           Vendor: Fedora Project
Release     : 3.r22930svn.fc14              Build Date: Wed 09 Feb 2011 11:22:04 AM CET

How reproducible:
Apparently not 100% for everyone, but so far 100% for me.

Steps to Reproduce:
1. Setup a BAM account on BOINC stats,
2. "Attach" to this account,
3. Synchronize.
  
Actual results:
BAM returns "acct_mgr_request empty or corrupt!".

Expected results:
Considering the badly formatted XML, this is expected.  Fixed, the synchronization should obviously be successful.

Additional info:
Users indeed report the bug as fixed in latest upstream version;  I hope the change can be backported in 6.10.58 in this release, as the next upstream stable release doesn't seem to be coming anytime soon.


Thank you.

Comment 1 Fedora Update System 2011-08-20 18:10:28 UTC
boinc-client-6.12.35-1.r24014svn.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/boinc-client-6.12.35-1.r24014svn.fc16

Comment 2 Fedora Update System 2011-08-20 18:13:51 UTC
boinc-client-6.12.35-1.r24014svn.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/boinc-client-6.12.35-1.r24014svn.fc15

Comment 3 Fedora Update System 2011-08-22 18:34:50 UTC
Package boinc-client-6.12.35-1.r24014svn.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing boinc-client-6.12.35-1.r24014svn.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/boinc-client-6.12.35-1.r24014svn.fc16
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-12-12 22:04:13 UTC
boinc-client-6.12.35-1.r24014svn.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2012-02-08 22:56:40 UTC
boinc-client-6.12.35-1.r24014svn.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.