1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 23:31:01 +00:00
serenity/Userland
Timothy Flynn 4d10911f96 LibJS: Pre-allocate the out-of-memory error string on the VM
If we are out of memory, we can't try to allocate a string that could
fail as well. When Error is converted to String, this would result in an
endless OOM-throwing loop. Instead, pre-allocate the string on the VM,
and use it to construct the Error.

Note that as of this commit, the OOM string is still a DeprecatedString.
This is just preporatory for Error's conversion to String.
2023-02-17 09:14:23 -05:00
..
Applets LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
Applications PixelPaint: Propagate errors from making tool property widgets 2023-02-16 23:36:58 +00:00
BuggieBox Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00
Demos LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
DevTools Everywhere: Change all XXX into FIXME or remove as appropriate 2023-02-15 23:33:25 +01:00
DynamicLoader DynamicLoader: Disable stack protector in some files for aarch64 build 2023-02-15 22:53:19 +01:00
Games LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
Libraries LibJS: Pre-allocate the out-of-memory error string on the VM 2023-02-17 09:14:23 -05:00
Services Everywhere: Remove the AK:: qualifier from Stream usages 2023-02-13 00:50:07 +00:00
Shell Everywhere: Use /bin/Shell as the shebang for Shell scripts 2023-02-13 23:00:15 +03:30
Utilities su: Only check for an interactive tty if a password is actually needed 2023-02-16 12:52:11 +00:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00