ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Server Programmability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In our current BSONElement code, we strlen for our fieldNameSize calculation:

      BSONElement(...) { while (*d) ++d; _fieldNameSize = d - _data; }

      To ensure that this strlen is bounds checked, we should at minimum use std::strnlen.

            Assignee:
            Guillaume Racicot
            Reporter:
            Alex Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: