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

Code analysis revealed multiple potential buffer overflows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.11
    • None
    • XalanC
    • None

    Description

      src/xalanc/Harness/XalanXMLFileReporter.cpp
      The float at line 490 can exceed 40 bytes in length (max double is 317 bytes)

      src/xalanc/Utils/MsgCreator/MsgCreator.cpp
      This utility lacks any buffer bounding to protect against buffer overflows

      src/xalanc/Utils/MsgCreator/InMemHandler.cpp
      This utility lacks any buffer bounding to protect against buffer overflows

      src/xalanc/XalanExe/XalanExe.cpp
      There is no upper bound on n_maxParams

      Attachments

        1. XalanXMLFileReporter.patch
          0.5 kB
          Int3
        2. XalanExe.patch
          0.7 kB
          Int3
        3. MsgCreator.patch
          4 kB
          Int3
        4. InMemHandler.patch
          0.7 kB
          Int3

        Activity

          People

            shathaway Steven J. Hathaway
            int3solutions Int3
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: