mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Fix uint32_t overflow during ArrayBuffer buffer allocation (#4)
This patch fixes #2. Signed-off-by: Robert Fancsik <frobert@inf.u-szeged.hu>
This commit is contained in:
parent
ea7b221a53
commit
bbae70a565
4 changed files with 12 additions and 3 deletions
|
|
@ -75,6 +75,7 @@ const char* errorMessage_GlobalObject_FirstArgumentNotCallable = "%s: first argu
|
|||
const char* errorMessage_GlobalObject_FirstArgumentNotString = "%s: first argument is not a string";
|
||||
const char* errorMessage_GlobalObject_FirstArgumentInvalidLength = "%s: first arugment is an invalid length value";
|
||||
const char* errorMessage_GlobalObject_InvalidArrayBufferOffset = "%s: ArrayBuffer length minus the byteOffset is not a multiple of the element size";
|
||||
const char* errorMessage_GlobalObject_InvalidArrayBufferSize = "%s: ArrayBuffer buffer allocation failed";
|
||||
const char* errorMessage_GlobalObject_NotExistNewInArrayBufferConstructor = "%s: Constructor ArrayBuffer requires \'new\'";
|
||||
const char* errorMessage_GlobalObject_NotExistNewInTypedArrayConstructor = "%s: Constructor TypedArray requires \'new\'";
|
||||
const char* errorMessage_GlobalObject_NotExistNewInDataViewConstructor = "%s: Constructor DataView requires \'new\'";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue