Uploaded image for project: 'XalanC'
  1. XalanC
  2. XALANC-507

Safety improvements for XalanVector::insert()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • CurrentCVS
    • CurrentCVS
    • XalanC
    • None

    Description

      XalanVector::insert() should assert that the supplied iterator is legal.

      Also, there is an overload for non-const iterators which is not necessary, since we use pointers and pointer-to-type converts trivially to pointer-to-const-type.

      A patch is attached. Committers, can you please review?

      Attachments

        1. patch.txt
          1 kB
          David N Bertoni

        Activity

          People

            dbertoni David N Bertoni
            dbertoni David N Bertoni
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: