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.
Co-authored-by: Jesper Lundgren <jesperlundgren@exosite.com>
Co-authored-by: Jesper Lundgren <jesperlundgren@exosite.com>
)

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

Co-authored-by: Oran Agra <oran@redislabs.com>
Co-authored-by: Yossi Gottlieb <yossigo@gmail.com>
* 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 <hisham@gobolinux.org>
Co-authored-by: Mark Pulford <mark@kyne.com.au>
Co-authored-by: ichenq <ichenq@gmail.com>
Co-authored-by: Cloud Wu <cloudwu@gmail.com>
Co-authored-by: caijietao <t0350.prog@gmail.com>
Co-authored-by: actboy168 <actboy168@gmail.com>
Co-authored-by: wudeng <wudeng256@gmail.com>
Co-authored-by: caiyiheng <rangercyh@qq.com>
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 <jamessan@jamessan.com>
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.