Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342535 - [disassembly] Don't resolve files to an inaccessible resource
Summary: [disassembly] Don't resolve files to an inaccessible resource
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 7.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 7.0.3   Edit
Assignee: Anton Leherbauer CLA
QA Contact: Ken Ryall CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-12 06:34 EDT by Anton Leherbauer CLA
Modified: 2011-04-12 07:23 EDT (History)
2 users (show)

See Also:


Attachments
Check for isAccessible() (965 bytes, patch)
2011-04-12 06:34 EDT, Anton Leherbauer CLA
aleherb+eclipse: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Leherbauer CLA 2011-04-12 06:34:28 EDT
Created attachment 193024 [details]
Check for isAccessible()

DisassemblyPart.insertSource() tries to resolve files to resources using ResourceLookup.selectFileForLocation() without testing whether the returned resource is accessible.  Attached patch fixes that.
Comment 1 Anton Leherbauer CLA 2011-04-12 06:36:59 EDT
Fixed in HEAD and cdt_7_0.