Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 69874 Details for
Bug 186065
StringIndexOutOfBoundsException in GCCScannerInfoConsoleParser
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_186065.txt (text/plain), 1.19 KB, created by
Sergey Prigogin
on 2007-06-02 17:52:27 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Sergey Prigogin
Created:
2007-06-02 17:52:27 EDT
Size:
1.19 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.cdt.make.core >Index: src/org/eclipse/cdt/make/internal/core/scannerconfig/gnu/GCCScannerInfoConsoleParser.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.cdt-build/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/internal/core/scannerconfig/gnu/GCCScannerInfoConsoleParser.java,v >retrieving revision 1.26 >diff -u -r1.26 GCCScannerInfoConsoleParser.java >--- src/org/eclipse/cdt/make/internal/core/scannerconfig/gnu/GCCScannerInfoConsoleParser.java 12 Apr 2007 18:00:00 -0000 1.26 >+++ src/org/eclipse/cdt/make/internal/core/scannerconfig/gnu/GCCScannerInfoConsoleParser.java 2 Jun 2007 21:51:05 -0000 >@@ -124,7 +124,8 @@ > } > else if (fileName == null) { > String possibleFileName = token.toLowerCase(); >- if ((possibleFileName.startsWith(DOUBLE_QUOTE_STRING) && >+ if (possibleFileName.length() >= 5 && // Two quotes plus 3 characters for file name. >+ (possibleFileName.startsWith(DOUBLE_QUOTE_STRING) && > possibleFileName.endsWith(DOUBLE_QUOTE_STRING)) || > (possibleFileName.startsWith(SINGLE_QUOTE_STRING) && > possibleFileName.endsWith(SINGLE_QUOTE_STRING))) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
cdtdoug
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 186065
: 69874