Uploaded image for project: 'Axis-C++'
  1. Axis-C++
  2. AXISCPP-44

simple_axis_server HTTP header parsing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 1.0 Final
    • current (nightly)
    • Samples
    • None
    • Operating System: All
      Platform: PC
    • 27173

    Description

      in axis-c-src-1-0-linux/src/server/simple_axis_server/ServerHelper.cpp

      while parsing HTTP header in getSeperatedHTTPParts function
      if send the request ends with only one \r\n (instead of two)
      the while loop becomes an infinite loop, and the string concatenation
      fill all your memory until the computer hang

      Attachments

        Activity

          People

            Unassigned Unassigned
            khassan@activia.net Khaled Hassan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: