Bug 45185 - CSV dataset blank delimiter causes OOM

git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/trunk@674215 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: ea12e4e4fe
This commit is contained in:
Sebastian Bazley 2008-07-05 17:54:17 +00:00
parent 9be8566a56
commit 24f3b74f27
2 changed files with 4 additions and 0 deletions

View File

@ -126,6 +126,9 @@ public class CSVDataSet extends ConfigTestElement implements TestBean, LoopItera
String delim = getDelimiter();
if (delim.equals("\\t")) { // $NON-NLS-1$
delim = "\t";// Make it easier to enter a Tab // $NON-NLS-1$
} else if (delim.length()==0){
log.warn("Empty delimiter converted to ','");
delim=",";
}
// TODO: fetch this once as per vars above?
JMeterVariables threadVars = context.getVariables();

View File

@ -80,6 +80,7 @@ It does not affect test plans or test behaviour.
<li>The test element "Save Results to a file" is now shown as a Listener</li>
<li>Amend TestBeans to show the correct popup menu for Listeners</li>
<li>Fix NPE when using nested Transaction Controllers with parent samples</li>
<li>Bug 45185 - CSV dataset blank delimiter causes OOM</li>
</ul>
<h3>Improvements</h3>