mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1240911 - Prevent SerializedStructuredCloneBuffer from escaping into the heap. r=amarchesini
This commit is contained in:
parent
bba443a226
commit
dd3090f395
@ -11,6 +11,7 @@
|
||||
#include "chrome/common/ipc_message_utils.h"
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
#include "mozilla/DebugOnly.h"
|
||||
#include "mozilla/dom/ipc/StructuredCloneData.h"
|
||||
#include "mozilla/Maybe.h"
|
||||
@ -60,7 +61,7 @@ struct null_t {
|
||||
bool operator==(const null_t&) const { return true; }
|
||||
};
|
||||
|
||||
struct SerializedStructuredCloneBuffer
|
||||
struct MOZ_STACK_CLASS SerializedStructuredCloneBuffer
|
||||
{
|
||||
SerializedStructuredCloneBuffer()
|
||||
: data(nullptr), dataLength(0)
|
||||
|
Loading…
Reference in New Issue
Block a user