Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-273

Bad memory access in TypeImpl::parseType

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • Patch

    Description

      TypeImpl::parseType can access bad memory (types[nextPos]) for some inputs (for example "map<boolean,float>"), due to missed range checks (nextPos < types.size()).

      immediate fix for example is attached, but not all possible cases are covered..

      Attachments

        1. 010-TypeImpl.patch
          0.5 kB
          Renat Valiullin

        Issue Links

          Activity

            People

              rip.nsk@gmail.com Renat Valiullin
              rip.nsk@gmail.com Renat Valiullin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: