ValidateError should use StringData instead of std::string

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.9
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Storage NYC 2019-03-11, Storage NYC 2019-03-25
    • 66
    • 2
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The ValidateError test in collection_test.cpp creates a std::string "\0\0\0\0\0". BF-12300 is likely caused by the assumption that this string is length 5 but strlen() returning 0. Change this to use StringData instead.

              Assignee:
              Divjot Arora (Inactive)
              Reporter:
              Divjot Arora (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: