blob: 2c748768bcc04dd57b66f34d91cffb3b1102cb50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
oomTest(function() {
eval(`var clonebuffer = serialize("abc");
clonebuffer.clonebuffer = "\
\\x00\\x00\\x00\\x00\\b\\x00\\xFF\\xFF\\f\
\\x00\\x00\\x00\\x03\\x00\\xFF\\xFF\\x00\\x00\\x00\\x00\\x00\\x00\\x00\
\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\xF0?\\x00\\x00\\x00\\\x00\\x00\
\\x00\\xFF\\xFF"
var obj = deserialize(clonebuffer)
assertEq(new ({ get }).keys(obj).toString(), "12,ab");
`);
});
|