WebKit Bugzilla
Attachment 350211 Details for
Bug 189789
: [EME] Fix typo in WebM sanitization variable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-189789-20180920180516.patch (text/plain), 1.80 KB, created by
Yacine Bandou
on 2018-09-20 09:05:18 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Yacine Bandou
Created:
2018-09-20 09:05:18 PDT
Size:
1.80 KB
patch
obsolete
>Subversion Revision: 236165 >diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog >index 0c35e3138c1b66701dfbf638e514d41310441afe..58f649385355a8127fa9df894f14178625e7cc4b 100644 >--- a/Source/WebCore/ChangeLog >+++ b/Source/WebCore/ChangeLog >@@ -1,3 +1,16 @@ >+2018-09-20 Yacine Bandou <yacine.bandou@softathome.com> >+ >+ [EME] Fix typo in WebM sanitization variable >+ https://bugs.webkit.org/show_bug.cgi?id=189789 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ This commit corrects a typo in the name of a local variable, sanitizedBuffer >+ instead of sanitazedBuffer. >+ >+ * Modules/encryptedmedia/InitDataRegistry.cpp: >+ (WebCore::extractKeyIDsWebM): >+ > 2018-09-19 Yacine Bandou <yacine.bandou@softathome.com> > > [EME] Add WebM sanitization >diff --git a/Source/WebCore/Modules/encryptedmedia/InitDataRegistry.cpp b/Source/WebCore/Modules/encryptedmedia/InitDataRegistry.cpp >index 1e2e8335339a37fc42e8954f912888da8fef6954..01eddcd09259eda839c4ccaabe7dc9982d59f46d 100644 >--- a/Source/WebCore/Modules/encryptedmedia/InitDataRegistry.cpp >+++ b/Source/WebCore/Modules/encryptedmedia/InitDataRegistry.cpp >@@ -154,13 +154,13 @@ static RefPtr<SharedBuffer> sanitizeWebM(const SharedBuffer& buffer) > static std::optional<Vector<Ref<SharedBuffer>>> extractKeyIDsWebM(const SharedBuffer& buffer) > { > Vector<Ref<SharedBuffer>> keyIDs; >- RefPtr<SharedBuffer> sanitazedBuffer = sanitizeWebM(buffer); >- if (!sanitazedBuffer) >+ RefPtr<SharedBuffer> sanitizedBuffer = sanitizeWebM(buffer); >+ if (!sanitizedBuffer) > return std::nullopt; > > // 1. Format > // https://w3c.github.io/encrypted-media/format-registry/initdata/webm.html#format >- keyIDs.append(sanitazedBuffer.releaseNonNull()); >+ keyIDs.append(sanitizedBuffer.releaseNonNull()); > return keyIDs; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 189789
:
350207
| 350211