Skip to content

Conversation

@magicaldave
Copy link

No description provided.

Jesper Lundgren and others added 30 commits March 24, 2020 09:03
Thanks @spacewander for optimization and documentation.
* update luarocks action
* apt-get update
* run tests on pull request as well
…y 31 bits and uninitialized variable. (openresty#76)

[dtoa.c:2453] -> [dtoa.c:2454]: (warning) Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 2453.
[dtoa.c:2846]: (error) Uninitialized variable: bb
[dtoa.c:2847]: (error) Uninitialized variable: bd
[dtoa.c:2848]: (error) Uninitialized variable: bs
[dtoa.c:2850]: (error) Uninitialized variable: delta
andrewvmail and others added 30 commits January 9, 2022 21:32
…re light userdata address with masked address (openresty#82)

Since we used `json_lightudata_mask` when creating lightuserdata, same
mask should be applied when comparing the return of `touserdata`

Fixes openresty#81.
)

* Fix integer overflows due to using wrong integer size.
* Add assertions / panic when overflow still happens.

Co-authored-by: Oran Agra <[email protected]>
Co-authored-by: Yossi Gottlieb <[email protected]>
* Feat(CI): Add automated builds
* Fix(CI): Add gcc builds for windows environments
Revert "Test(CI): Make phoenix build it"
Co-Authored-By: Hisham Muhammad <[email protected]>
Co-authored-by: Mark Pulford <[email protected]>
Co-authored-by: ichenq <[email protected]>
Co-authored-by: Cloud Wu <[email protected]>
Co-authored-by: caijietao <[email protected]>
Co-authored-by: actboy168 <[email protected]>
Co-authored-by: wudeng <[email protected]>
Co-authored-by: caiyiheng <[email protected]>
The kyne.com.au server seems to have moved to kyne.au
…openresty#116)

json_next_number_token stores the `long long` return value from `stroll`
in a `lua_Integer` (which is typically a typedef for `ptrdiff_t`).

On 32-bit platforms, this ends up storing an 8-byte number into a 4-byte
variable, truncating the value.

Instead, store the converted value in a temporary `long long` variable
so we can detect the scenario and decode into a `lua_Number`.

Signed-off-by: James McCoy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.