Skip to content

fix: global variable assignment - #29

Open
d-strobel wants to merge 1 commit into
api7:mainfrom
d-strobel:fix/global-variable-decleration
Open

fix: global variable assignment#29
d-strobel wants to merge 1 commit into
api7:mainfrom
d-strobel:fix/global-variable-decleration

Conversation

@d-strobel

Copy link
Copy Markdown

This PR fixes a global variable assignment in resty/ldap/client.lua.
The variable _ was previously declared without local, which caused it to leak into the global scope.

Under OpenResty (my usecase), this can lead to race conditions between concurrent requests.

@CLAassistant

CLAassistant commented Sep 1, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

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.

2 participants