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

Commit 66abe3ae authored by Andreas Huber's avatar Andreas Huber Committed by Gerrit Code Review
Browse files

Merge "Fix for crash if no content in DESCRIBE response"

parents f0cea9f8 5f189753
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;