Bug 780494 (SOA-3062) - TextTable does not check for invalid input
Summary: TextTable does not check for invalid input
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-3062
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: EDS
Version: 5.1.0 GA
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.2.0 GA
Assignee: Steven Hawkins
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-16 21:41 UTC by dsteigne
Modified: 2011-11-08 00:46 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-08 00:46:18 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-3062 0 None None None Never

Description dsteigne 2011-02-16 21:41:27 UTC
Help Desk Ticket Reference: https://c.na7.visual.force.com/apex/Case_View?id=500A0000006IvsO
project_key: SOA

If a value has a non-terminated qualify (or other invalid entries) the entire file may be read into memory.  We should have a proactive check to prevent this.

Comment 1 Steven Hawkins 2011-02-16 21:41:28 UTC
Link: Added: This issue Cloned from JBEDSP-1259


Comment 2 Steven Hawkins 2011-02-16 21:43:48 UTC
Steps to Reproduce: Removed: I've attached a vdb, text file and descriptor file.  Use the following query:
select RECORD_TYPE, CLIENT, OBJECT_TYPE, OBJECT_CD, DESCRIPTION 
from SAP.SAP_XI_Source.WBS_CODE 


Comment 3 Steven Hawkins 2011-02-17 17:33:26 UTC
updated the readline logic to read characters at a time and validate against an expected maximum

Comment 4 Van Halbert 2011-05-09 22:13:23 UTC
Security: Added: Public


Comment 5 David Le Sage 2011-11-08 00:43:59 UTC
Reopened for release note.

Comment 6 David Le Sage 2011-11-08 00:46:08 UTC
Release Notes Docs Status: Added: Documented as Resolved Issue
Writer: Added: dlesage
Release Notes Text: Added: https://issues.jboss.org/browse/SOA-3062

The text table was not checking for valid input.  If a value had an invalid entry the entire file was read into memory.  Readline logic has been added to read characters one at a time and validate them against an expected maximum value.



Note You need to log in before you can comment on or make changes to this bug.