Ticket #927 (new Defect)

Opened 5 months ago

Last modified 5 months ago

missing mem checking at RSC_WORK_FETCH::rr_init() in work_fetch.cpp

Reported by: ktamail Assigned to:
Priority: Undetermined Milestone: Undetermined
Component: Undetermined Version: 6.6.36
Keywords: Cc:

Description

i want optimize and compile BOINC client but i get error at : void RSC_WORK_FETCH::rr_init() function.

i found missing memory checking(for pending vector): i insert this line and work it for me:

if(!pending.empty())

before:

pending.clear();

i attach pic at error output.

Attachments

error.jpg (91.7 kB) - added by ktamail on 06/28/09 11:53:20.

Change History

06/28/09 11:53:20 changed by ktamail

  • attachment error.jpg added.

06/28/09 12:22:24 changed by Nicolas

Huh? clear()ing an empty vector isn't an error.

06/28/09 22:51:55 changed by ktamail

sorry i too can't understand why get error but that line solve my problem what you see attached picture.

i try compile again without checking pending vector and i get error again:

boinc.exe!boinc_catch_signal_invalid_parameter(const wchar_t * expression=0x65727078, const wchar_t * function=0x6f697373, const wchar_t * file=0x25203a6e, unsigned int line=2675, unsigned int formal=979650852) Line 2090 C++


If this page is incomplete or incorrect, please edit it or add it to the wiki to-do list. To do this, you must be logged in; click Login or Register above.