luau/tests
XmiliaH 4ded555cc5
Prevent overflow in lua_newuserdatadtor (#639)
In case a large userdata size is passed to lua_newuserdatadtor it might overflow the size resulting in luaU_newudata actually allocating the object without a memory error. This will then result in overwriting part of the metatable pointer of the userdata.
This PR fixes this issue by checking for the overflow and in such cases pass a size value which will cause a memory error in luaU_newudata.
2022-08-16 15:32:48 -07:00
..
conformance Sync to upstream/release/540 (#635) 2022-08-11 14:01:33 -07:00
AssemblyBuilderX64.test.cpp Sync to upstream/release/540 (#635) 2022-08-11 14:01:33 -07:00
AstJsonEncoder.test.cpp Sync to upstream/release/539 (#625) 2022-08-04 15:35:33 -07:00
AstQuery.test.cpp Sync to upstream/release/535 (#584) 2022-07-07 18:22:39 -07:00
AstVisitor.test.cpp Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
Autocomplete.test.cpp Add autocomplete context to result (#611) 2022-08-10 13:04:08 -07:00
BuiltinDefinitions.test.cpp Sync to upstream/release/527 (#481) 2022-05-13 12:36:37 -07:00
Compiler.test.cpp Sync to upstream/release/540 (#635) 2022-08-11 14:01:33 -07:00
Config.test.cpp Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
Conformance.test.cpp Prevent overflow in lua_newuserdatadtor (#639) 2022-08-16 15:32:48 -07:00
ConstraintGraphBuilder.test.cpp Sync to upstream/release/534 (#569) 2022-06-30 16:52:43 -07:00
ConstraintSolver.test.cpp Sync to upstream/release/538 (#616) 2022-07-28 21:24:07 -07:00
CostModel.test.cpp Sync to upstream/release/536 (#592) 2022-07-14 15:52:26 -07:00
Error.test.cpp Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
Fixture.cpp Sync to upstream/release/540 (#635) 2022-08-11 14:01:33 -07:00
Fixture.h Sync to upstream/release/538 (#616) 2022-07-28 21:24:07 -07:00
Frontend.test.cpp Sync to upstream/release/539 (#625) 2022-08-04 15:35:33 -07:00
IostreamOptional.h Sync to upstream/release/505 (#216) 2021-11-19 08:10:07 -08:00
JsonEmitter.test.cpp Sync to upstream/release/539 (#625) 2022-08-04 15:35:33 -07:00
Lexer.test.cpp Sync to upstream/release/538 (#616) 2022-07-28 21:24:07 -07:00
Linter.test.cpp Sync to upstream/release/540 (#635) 2022-08-11 14:01:33 -07:00
LValue.test.cpp Sync to upstream/release/513 (#340) 2022-02-04 08:45:57 -08:00
main.cpp Sync to upstream/release/539 (#625) 2022-08-04 15:35:33 -07:00
Module.test.cpp Sync to upstream/release/540 (#635) 2022-08-11 14:01:33 -07:00
NonstrictMode.test.cpp Sync to upstream/release/540 (#635) 2022-08-11 14:01:33 -07:00
Normalize.test.cpp Sync to upstream/release/539 (#625) 2022-08-04 15:35:33 -07:00
NotNull.test.cpp Sync to upstream/release/534 (#569) 2022-06-30 16:52:43 -07:00
Parser.test.cpp Sync to upstream/release/539 (#625) 2022-08-04 15:35:33 -07:00
Repl.test.cpp Sync to upstream/release/539 (#625) 2022-08-04 15:35:33 -07:00
RequireTracer.test.cpp Sync to upstream/release/514 (#372) 2022-02-17 17:18:01 -08:00
RuntimeLimits.test.cpp Sync to upstream/release/533 (#560) 2022-06-23 18:56:00 -07:00
ScopedFlags.h Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
StringUtils.test.cpp Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
Symbol.test.cpp Sync to upstream/release/508 (#301) 2022-01-06 15:26:14 -08:00
ToDot.test.cpp Sync to upstream/release/529 (#505) 2022-05-26 15:08:16 -07:00
TopoSort.test.cpp Sync to upstream/release/523 (#459) 2022-04-14 16:57:43 -07:00
ToString.test.cpp Sync to upstream/release/539 (#625) 2022-08-04 15:35:33 -07:00
Transpiler.test.cpp Fix op used when stringifying AstExprIndexName (#572) 2022-07-05 08:59:09 -07:00
TypeInfer.aliases.test.cpp Sync to upstream/release/539 (#625) 2022-08-04 15:35:33 -07:00
TypeInfer.annotations.test.cpp Sync to upstream/release/534 (#569) 2022-06-30 16:52:43 -07:00
TypeInfer.anyerror.test.cpp Sync to upstream/release/538 (#616) 2022-07-28 21:24:07 -07:00
TypeInfer.builtins.test.cpp Add %* format specifier (#619) 2022-08-04 07:22:16 -07:00
TypeInfer.classes.test.cpp Sync to upstream/release/530 (#517) 2022-06-03 15:15:45 -07:00
TypeInfer.definitions.test.cpp Sync to upstream/release/540 (#635) 2022-08-11 14:01:33 -07:00
TypeInfer.functions.test.cpp Sync to upstream/release/539 (#625) 2022-08-04 15:35:33 -07:00
TypeInfer.generics.test.cpp Sync to upstream/release/540 (#635) 2022-08-11 14:01:33 -07:00
TypeInfer.intersectionTypes.test.cpp Sync to upstream/release/529 (#505) 2022-05-26 15:08:16 -07:00
TypeInfer.loops.test.cpp Sync to upstream/release/538 (#616) 2022-07-28 21:24:07 -07:00
TypeInfer.modules.test.cpp Sync to upstream/release/540 (#635) 2022-08-11 14:01:33 -07:00
TypeInfer.oop.test.cpp Sync to upstream/release/527 (#481) 2022-05-13 12:36:37 -07:00
TypeInfer.operators.test.cpp Sync to upstream/release/538 (#616) 2022-07-28 21:24:07 -07:00
TypeInfer.primitives.test.cpp Sync to upstream/release/538 (#616) 2022-07-28 21:24:07 -07:00
TypeInfer.provisional.test.cpp Sync to upstream/release/539 (#625) 2022-08-04 15:35:33 -07:00
TypeInfer.refinements.test.cpp Sync to upstream/release/538 (#616) 2022-07-28 21:24:07 -07:00
TypeInfer.singletons.test.cpp Sync to upstream/release/539 (#625) 2022-08-04 15:35:33 -07:00
TypeInfer.tables.test.cpp Sync to upstream/release/540 (#635) 2022-08-11 14:01:33 -07:00
TypeInfer.test.cpp Sync to upstream/release/539 (#625) 2022-08-04 15:35:33 -07:00
TypeInfer.tryUnify.test.cpp Sync to upstream/release/538 (#616) 2022-07-28 21:24:07 -07:00
TypeInfer.typePacks.cpp Sync to upstream/release/539 (#625) 2022-08-04 15:35:33 -07:00
TypeInfer.unionTypes.test.cpp Sync to upstream/release/538 (#616) 2022-07-28 21:24:07 -07:00
TypeInfer.unknownnever.test.cpp Sync to upstream/release/536 (#592) 2022-07-14 15:52:26 -07:00
TypePack.test.cpp Sync to upstream/release/538 (#616) 2022-07-28 21:24:07 -07:00
TypeVar.test.cpp Sync to upstream/release/540 (#635) 2022-08-11 14:01:33 -07:00
Variant.test.cpp Sync to upstream/release/530 (#517) 2022-06-03 15:15:45 -07:00
VisitTypeVar.test.cpp Sync to upstream/release/533 (#560) 2022-06-23 18:56:00 -07:00