quickjs-done-nextgen/tests
Ben Noordhuis a1d1bce0b7
Fix crash in deserializer (#602)
Check inside the deserializer that const atoms are indeed const, don't
trust the input. The serializer only writes type 0 records for const
atoms but the byte stream may have been corrupted or manipulated.

Overlooked during review of c25aad7 ("Add ability to (de)serialize
symbols")

Found with libfuzzer and it found it _really_ fast. Great tool.
2024-10-17 08:45:04 +02:00
..
assert.js DRY assertion functions in tests 2024-10-10 21:39:12 +02:00
fixture_cyclic_import.js Fix cyclic import/export segfault (#568) 2024-10-16 10:13:38 +02:00
function_source.js Retain function source code in serialized bytecode (#218) 2023-12-16 01:01:26 +01:00
microbench.js Improve number to string conversions (#400) 2024-05-26 08:06:36 +02:00
test_bigint.js DRY assertion functions in tests 2024-10-10 21:39:12 +02:00
test_bjson.js Fix crash in deserializer (#602) 2024-10-17 08:45:04 +02:00
test_builtin.js DRY assertion functions in tests 2024-10-10 21:39:12 +02:00
test_closure.js DRY assertion functions in tests 2024-10-10 21:39:12 +02:00
test_conv.c Include <intrin.h> on Windows (#584) 2024-10-08 22:32:24 +02:00
test_cyclic_import.js Fix cyclic import/export segfault (#568) 2024-10-16 10:13:38 +02:00
test_language.js DRY assertion functions in tests 2024-10-10 21:39:12 +02:00
test_loop.js DRY assertion functions in tests 2024-10-10 21:39:12 +02:00
test_module_detect.js Fix JS_DetectModule if the first statement is an await 2024-09-10 23:12:21 +02:00
test_queue_microtask.js DRY assertion functions in tests 2024-10-10 21:39:12 +02:00
test_std.js Run local tests with run-test262 2024-10-10 21:52:34 +02:00
test_worker.js DRY assertion functions in tests 2024-10-10 21:39:12 +02:00
test_worker_module.js Remove trailing whitespace (#46) 2023-11-12 10:01:40 +01:00