Ticket #270 (new Enhancement)

Opened 1 year ago

Last modified 2 weeks ago

client/stream.C - included error checking for malloc() realloc(), plus added free()

Reported by: Joses Assigned to: davea
Priority: Undetermined Milestone: 6.4
Component: Client - Daemon Version:
Keywords: patch Cc:

Description

Stream.C is not yet part of BOINC but due to some memory problems I have encountered with other programs (leakages/segfaults/etc), it was worth including this minor update to help verify malloc() and realloc() are tested and later free()ed.

Use the diff file to see the changes recommended and if the idea seems worth adding to other files, please go ahead and fix other files that have similar alloc() and free() routines.

NOTE: This file was not tested since stream.C is not used yet.

Attachments

stream.C.diff (1.4 kB) - added by Joses on 06/13/07 18:34:41.
diff against latest stream.C of June 13, 2007

Change History

06/13/07 18:34:41 changed by Joses

  • attachment stream.C.diff added.

diff against latest stream.C of June 13, 2007

06/13/07 22:04:25 changed by romw

  • status changed from new to closed.
  • resolution set to duplicate.

same as #269

06/14/07 05:22:36 changed by Ageless

  • status changed from closed to reopened.
  • resolution deleted.

I'll change that. This one has the attachment, #269 doesn't.

12/05/07 11:57:20 changed by romw

  • owner changed from romw to davea.
  • status changed from reopened to new.

05/12/08 19:45:08 changed by Nicolas

  • keywords set to patch.

05/15/08 16:39:18 changed by Nicolas

  • component changed from Manager to Client - Daemon.

07/24/08 05:05:20 changed by jason123

I'm closing it according to the last comment.
----------
Eve 6 air force ones


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.