Optional max length when parsing cstrings

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • None
    • Rust Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      As mitigation against malicious input, we should add a feature that caps how far in the buffer cstring parsing seeks for the terminating null; the cap can be a simple constant.

            Assignee:
            Isabel Atkinson
            Reporter:
            Abraham Egnor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: