Commit e2c4af43 authored by Randell Jesup's avatar Randell Jesup Committed by Pier Angelo Vendrame
Browse files

Bug 2025434: Return early in ClearKey r=media-playback-reviewers,padenot

parent e91fd177
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -65,6 +65,9 @@ bool DecodeBase64(const string& aEncoded, vector<uint8_t>& aOutDecoded) {
  if (!Decode6Bit(encoded)) {
    return false;
  }
  if (encoded.size() < 2) {
    return false;
  }

  // The number of bytes we haven't yet filled in the current byte, mod 8.
  int shift = 0;