Bug 780494 (SOA-3062)

Summary: TextTable does not check for invalid input
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: dsteigne
Component: EDSAssignee: Steven Hawkins <shawkins>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.1.0 GA   
Target Milestone: ---   
Target Release: 5.2.0 GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-3062
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-08 00:46:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.