Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check that objects have inline storage before trying to copy it
https://bugs.webkit.org/show_bug.cgi?id=273590 rdar://127227132 Reviewed by Yusuke Suzuki. When copying objects via this code path, we copy over the inlineStorage unconditionally. This is fine in release mode since when the inlineStorage isn't present the backing memcpy is 0-width and therefore does not affect memory, but in debug mode we hit an assert when trying to get the value for source->inlineStorage. * Source/JavaScriptCore/runtime/ObjectConstructorInlines.h: (JSC::tryCreateObjectViaCloning): Canonical link: https://commits.webkit.org/278270@main
- Loading branch information