Opened 17 years ago

Closed 15 years ago

Last modified 15 years ago

#270 closed Enhancement (wontfix)

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

Reported by: Joses Owned by: davea
Priority: Undetermined Milestone: Undetermined
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 (1)

stream.C.diff (1.4 KB) - added by Joses 17 years ago.
diff against latest stream.C of June 13, 2007

Download all attachments as: .zip

Change History (9)

Changed 17 years ago by Joses

Attachment: stream.C.diff added

diff against latest stream.C of June 13, 2007

comment:1 Changed 17 years ago by romw

Resolution: duplicate
Status: newclosed

same as #269

comment:2 Changed 17 years ago by Ageless

Resolution: duplicate
Status: closedreopened

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

comment:3 Changed 16 years ago by romw

Owner: changed from romw to davea
Status: reopenednew

comment:4 Changed 16 years ago by Nicolas

Keywords: patch added

comment:5 Changed 16 years ago by Nicolas

Component: ManagerClient - Daemon

comment:6 Changed 15 years ago by romw

Milestone: 6.66.8

comment:7 Changed 15 years ago by davea

Resolution: wontfix
Status: newclosed

comment:8 Changed 15 years ago by Nicolas

Milestone: 6.8Undetermined
Note: See TracTickets for help on using tickets.