[torquedev] [Bug 75] Double free's and touches of freed memory inside pbs_server

bugzilla-daemon at supercluster.org bugzilla-daemon at supercluster.org
Mon Aug 9 11:36:24 MDT 2010


http://www.clusterresources.com/bugzilla/show_bug.cgi?id=75

--- Comment #2 from Ken Nielson <knielson at adaptivecomputing.com> 2010-08-09 11:36:23 MDT ---
Created an attachment (id=49)
 --> (http://www.clusterresources.com/bugzilla/attachment.cgi?id=49)
Add error code PBSE_RELAYED_TO_MOM to modfiy_job in src/server/req_modify.c

The bug which caused this double free error was introduced when the function
modify_job was added to req_modifyjob. Previously req_modifyjob called
relay_to_mom directly and returned without freeing the batch_request structure.
This patch allows modify_job to return an error code to req_modifyjob letting
it know a call was made to relay_to_mom and req_modify job does not need to
call reply_ack (where the batch_request buffer will be freed)

-- 
Configure bugmail: http://www.clusterresources.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the torquedev mailing list