Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-6624

Read to invalid memory in Expression::parseOperand

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.2.0-rc0
    • Fix Version/s: 2.2.0-rc1
    • Component/s: Aggregation Framework
    • Labels:
      None
    • Operating System:
      ALL

      Description

                  BSONElement opCopy(*pBsonElement);
                  string value(opCopy.String());
       
                  /* check for a field path */
                  if (value[0] != '$')
                      goto ExpectConstant;  // assume plain string constant

      Does not work if the String is empty.

        Attachments

          Activity

            People

            Assignee:
            redbeard0531 Mathias Stearn
            Reporter:
            milkie Eric Milkie
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: