Bug 450101 - ArrayOutOfBoundsException in AdditionalInput
Summary: ArrayOutOfBoundsException in AdditionalInput
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build-managed (show other bugs)
Version: 8.2   Edit
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-05 08:04 EST by Dmitry Kozlov CLA
Modified: 2020-09-04 15:20 EDT (History)
4 users (show)

See Also:


Attachments
Proposed patch (863 bytes, patch)
2014-11-05 08:04 EST, Dmitry Kozlov CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Kozlov CLA 2014-11-05 08:04:13 EST
Created attachment 248401 [details]
Proposed patch

org.eclipse.cdt.managedbuilder.internal.core.AdditionalInput$1LibFilter.accept(String)
throws ArrayOutOfBoundsException in line 497:

String ext = libName.substring(libSO.length() + 1);

I guess it expects name instead of libname. Patch attached.