`kms_request_get_canonical` can return NULL and lead to segfault

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.0.1
    • Affects Version/s: None
    • Component/s: kms_message
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This method can possibly return NULL (in our unit tests because we stub out the implementation with one that returns false), but the library does not check for that value before attempting to operate on the string a few lines down, leading to a segfault

              Assignee:
              Matt Broadstone
              Reporter:
              Matt Broadstone
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: