You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the magic value is typed as an int everywhere, rather than something more specific. This causes the downstream library quickjs-emscripten to have a bug where reading the value returns a wrapped negative 16-bit integer . If it wouldn't break anything else, we were able to fully address this issue by simply re-typing magic to uint32_t everywhere.
Does this raise any eyebrows? My exposure to this library is only through quickjs-emscripten, so I don't know of the implications of this change on other usecases.
The text was updated successfully, but these errors were encountered:
Change JS_WriteObject() and JS_WriteObject2() to write little-endian
data and update JS_ReadObject() to byte-swap data when running on a
big-endian system.
Obsoletes the JS_WRITE_OBJ_BSWAP flag, it is now a no-op.
Fixes: quickjs-ng/quickjs#125
the
magic
value is typed as anint
everywhere, rather than something more specific. This causes the downstream library quickjs-emscripten to have a bug where reading the value returns a wrapped negative 16-bit integer . If it wouldn't break anything else, we were able to fully address this issue by simply re-typingmagic
touint32_t
everywhere.Does this raise any eyebrows? My exposure to this library is only through quickjs-emscripten, so I don't know of the implications of this change on other usecases.
The text was updated successfully, but these errors were encountered: