Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-70

Logic flaws in StringHelper::startsWith and StringHelper::endsWith

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.10.0
    • None
    • None

    Description

      Problems were reported for StringHelper::startsWith and ::endsWith by Tommi Maekitalo on 2005-01-13 (http://marc.theaimsgroup.com/?l=log4cxx-dev&m=110564942400296&w=2) and Bjorn Carlsson on 2005-03-09.

      Prior to this patch StringHelper::startsWith("foo", "foo") would return false and StringHelper::endsWith() would fail for almost all cases, sometimes with range violations.

      Attachments

        Activity

          People

            carnold@apache.org Curt Arnold
            carnold@apache.org Curt Arnold
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: