Program: 163328
Project: 163328
Buggy source:
/** 
 * The CsvParser supports all settings provided by   {@link CsvParserSettings}, and requires this configuration to be properly initialized.
 * @param settings the parser configuration
 */
public CsvParser(CsvParserSettings settings){
  super(settings);
  ignoreTrailingWhitespace=settings.getIgnoreTrailingWhitespaces();
  ignoreLeadingWhitespace=settings.getIgnoreLeadingWhitespaces();
  parseUnescapedQuotes=settings.isParseUnescapedQuotes();
  parseUnescapedQuotesUntilDelimiter=settings.isParseUnescapedQuotesUntilDelimiter();
  doNotEscapeUnquotedValues=!settings.isEscapeUnquotedValues();
  keepEscape=settings.isKeepEscapeSequences();
  keepQuotes=settings.getKeepQuotes();
  normalizeLineEndingsInQuotes=settings.isNormalizeLineEndingsWithinQuotes();
  nullValue=settings.getNullValue();
  CsvFormat format=settings.getFormat();
  delimiter=format.getDelimiter();
  quote=format.getQuote();
  quoteEscape=format.getQuoteEscape();
  escapeEscape=format.getCharToEscapeQuoteEscaping();
  newLine=format.getNormalizedNewline();
  whitespaceAppender=new ExpandingCharAppender(10,"String_Node_Str");
  this.quoteHandling=settings.getUnescapedQuoteHandling();
  if (quoteHandling == null) {
    if (parseUnescapedQuotes) {
      if (parseUnescapedQuotesUntilDelimiter) {
        quoteHandling=STOP_AT_DELIMITER;
      }
 else {
        quoteHandling=STOP_AT_CLOSING_QUOTE;
      }
    }
 else {
      quoteHandling=RAISE_ERROR;
    }
  }
 else {
    parseUnescapedQuotesUntilDelimiter=quoteHandling == STOP_AT_DELIMITER || quoteHandling == SKIP_VALUE;
    parseUnescapedQuotes=quoteHandling != RAISE_ERROR;
  }
}

Fixed version (ground truth):
/** 
 * The CsvParser supports all settings provided by   {@link CsvParserSettings}, and requires this configuration to be properly initialized.
 * @param settings the parser configuration
 */
public CsvParser(CsvParserSettings settings){
  super(settings);
  ignoreTrailingWhitespace=settings.getIgnoreTrailingWhitespaces();
  ignoreLeadingWhitespace=settings.getIgnoreLeadingWhitespaces();
  parseUnescapedQuotes=settings.isParseUnescapedQuotes();
  parseUnescapedQuotesUntilDelimiter=settings.isParseUnescapedQuotesUntilDelimiter();
  doNotEscapeUnquotedValues=!settings.isEscapeUnquotedValues();
  keepEscape=settings.isKeepEscapeSequences();
  keepQuotes=settings.getKeepQuotes();
  normalizeLineEndingsInQuotes=settings.isNormalizeLineEndingsWithinQuotes();
  nullValue=settings.getNullValue();
  maxColumnLength=settings.getMaxCharsPerColumn();
  CsvFormat format=settings.getFormat();
  delimiter=format.getDelimiter();
  quote=format.getQuote();
  quoteEscape=format.getQuoteEscape();
  escapeEscape=format.getCharToEscapeQuoteEscaping();
  newLine=format.getNormalizedNewline();
  whitespaceAppender=new ExpandingCharAppender(10,"String_Node_Str");
  this.quoteHandling=settings.getUnescapedQuoteHandling();
  if (quoteHandling == null) {
    if (parseUnescapedQuotes) {
      if (parseUnescapedQuotesUntilDelimiter) {
        quoteHandling=STOP_AT_DELIMITER;
      }
 else {
        quoteHandling=STOP_AT_CLOSING_QUOTE;
      }
    }
 else {
      quoteHandling=RAISE_ERROR;
    }
  }
 else {
    parseUnescapedQuotesUntilDelimiter=quoteHandling == STOP_AT_DELIMITER || quoteHandling == SKIP_VALUE;
    parseUnescapedQuotes=quoteHandling != RAISE_ERROR;
  }
}