Bug 58769 - Missing "break" in switch in RAC that frees messages
Summary: Missing "break" in switch in RAC that frees messages
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Hyades (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Richard Duggan CLA
QA Contact:
URL:
Whiteboard: closed460
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-15 21:24 EDT by Allan Pratt CLA
Modified: 2012-02-15 13:47 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Allan Pratt CLA 2004-04-15 21:24:36 EDT
In the RAC sources, in RAComm.c, there is a function ra_destroyMessage. That 
function has a big switch. The case for RA_MANAGE_FILE is missing a "break;" 
statement at the end. This will cause the code to fall through and try to free 
a garbage pointer.
Comment 1 Richard Duggan CLA 2004-04-16 02:31:06 EDT
Fixed by Piyush Agarwal
Comment 2 Harm Sluiman CLA 2004-11-03 11:15:18 EST
house keeping
Comment 3 Paul Slauenwhite CLA 2009-06-30 12:27:50 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.