Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 59ac7b30 authored by Andreas Huber's avatar Andreas Huber Committed by Android Git Automerger
Browse files

am 66abe3ae: Merge "Fix for crash if no content in DESCRIBE response"

* commit '66abe3ae':
  Fix for crash if no content in DESCRIBE response
parents c44a3ae2 66abe3ae
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -422,6 +422,9 @@ struct MyHandler : public AHandler {

                    if (response->mStatusCode != 200) {
                        result = UNKNOWN_ERROR;
                    } else if (response->mContent == NULL) {
                        result = ERROR_MALFORMED;
                        ALOGE("The response has no content.");
                    } else {
                        mSessionDesc = new ASessionDescription;