From 9811aa2e155a4389898f3cf1a5ffb38e69497bdd Mon Sep 17 00:00:00 2001 From: Christian Holler Date: Fri, 6 Dec 2019 15:53:50 +0100 Subject: Check return value of PeerConnectionImpl::GetFingerprint. --- media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'media/webrtc') diff --git a/media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.h b/media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.h index 1dcc70519a..6229e1c95b 100644 --- a/media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.h +++ b/media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.h @@ -530,7 +530,8 @@ public: void GetFingerprint(nsAString& fingerprint) { char *tmp; - GetFingerprint(&tmp); + nsresult rv = GetFingerprint(&tmp); + NS_ENSURE_SUCCESS_VOID(rv); fingerprint.AssignASCII(tmp); delete[] tmp; } -- cgit v1.2.3