Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

src/openssl.c: save top before calling luaL_buffinit #189

Merged
merged 1 commit into from
Apr 19, 2021

Conversation

daurnimator
Copy link
Collaborator

No description provided.

@daurnimator daurnimator merged commit 1054d12 into wahern:master Apr 19, 2021
@daurnimator daurnimator deleted the luaL_Buffer-safety branch April 19, 2021 14:32
@Zash
Copy link
Contributor

Zash commented May 9, 2022

For future reference, this fixes a bad argument #2 to 'final' (string expected, got light userdata) error when you require"openssl.cipher".new("AES-128-GCM"):encrypt(key, iv):final("x") on Lua 5.4 after lua/lua@cf23a93

I observe that this is a year old and not yet in a release and is affecting users in the wild.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants