Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

Conversation

@cochicde
Copy link

@cochicde cochicde commented Aug 27, 2023

Requirements

  • I have added test coverage for new or changed functionality
  • I have followed the repository's pull request submission guidelines
  • I have validated my changes against all supported platform versions

Related issues

None

Describe the solution you've provided

LDi_buildUsersJSON stops execution and returns when LDi_buildUsersJSON fails, which can happen because of lack of memory or if the provided userKey was NULL

Describe alternatives you've considered

None

Additional context

Since this code is used only for testing, it does not provide any high risk apart from a crash/undefined behaviour during testing.

@cwaldren-ld
Copy link
Contributor

Thanks for the bugfix! Please see the code review comment; otherwise this looks good.

It will go out in our next release.

Co-authored-by: Casey Waldren <cwaldren@launchdarkly.com>
@cwaldren-ld
Copy link
Contributor

Fixed in 2.9.2. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants