Ticket #921 (new Defect)

Opened 5 months ago

Last modified 5 months ago

alloc check for buf==NULL in util.cpp

Reported by: Joses Assigned to:
Priority: Undetermined Milestone: Undetermined
Component: Undetermined Version: 6.6.31
Keywords: Cc:

Description

Quick fix for an error check that got missed.

Attachments

util.cpp.diff (346 bytes) - added by Joses on 06/17/09 21:56:10.
agains svn of june17,2009, lib/util.cpp

Change History

06/17/09 21:15:04 changed by Nicolas

You're leaking the file handle if you return there.

06/17/09 21:55:08 changed by Joses

Thanks for checking. I still don't have the proper resources (or time) to compile BOINC properly so these "fixes" are going to be rather minor in size (basically see errors but untested). Hope you don't mind...

Thanks for the checkup and hope it is properly correct now. :-)

06/17/09 21:56:10 changed by Joses

  • attachment util.cpp.diff added.

agains svn of june17,2009, lib/util.cpp

06/20/09 04:40:06 changed by elfring

This issue fits also to the general topic of completion for exception handling.


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.