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

Safety improvements for XalanVector::insert()

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment