RESOLVED FIXED 163331
[Win] Encode function pointers.
https://bugs.webkit.org/show_bug.cgi?id=163331
Summary [Win] Encode function pointers.
Per Arne Vollan
Reported 2016-10-12 07:38:13 PDT
For security reasons, we should encode stored function pointers.
Attachments
Patch (6.83 KB, patch)
2016-10-12 07:43 PDT, Per Arne Vollan
bfulgham: review+
bfulgham: commit-queue-
Per Arne Vollan
Comment 1 2016-10-12 07:43:54 PDT
Per Arne Vollan
Comment 2 2016-10-12 07:54:45 PDT
Alex Christensen
Comment 3 2016-10-12 08:25:54 PDT
Comment on attachment 291356 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=291356&action=review > Source/WebCore/platform/win/SoftLinking.h:-105 > - static resultType callingConvention init##functionName parameterDeclarations \ Are these unit functions no longer needed?
Per Arne Vollan
Comment 4 2016-10-12 10:42:56 PDT
(In reply to comment #3) > Comment on attachment 291356 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=291356&action=review > > > Source/WebCore/platform/win/SoftLinking.h:-105 > > - static resultType callingConvention init##functionName parameterDeclarations \ > > Are these unit functions no longer needed? No, these should not be needed anymore. The function pointer will be initialized the first time the function is called. Thanks for reviewing!
Brent Fulgham
Comment 5 2016-10-12 22:36:31 PDT
Comment on attachment 291356 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=291356&action=review r=me. >>> Source/WebCore/platform/win/SoftLinking.h:-105 >>> - static resultType callingConvention init##functionName parameterDeclarations \ >> >> Are these unit functions no longer needed? > > No, these should not be needed anymore. The function pointer will be initialized the first time the function is called. > > Thanks for reviewing! r=me if you remove the unneeded functions!
Per Arne Vollan
Comment 6 2016-10-13 05:00:57 PDT
Note You need to log in before you can comment on or make changes to this bug.