Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Replace error-prone create_random_data with a reliable implementation #2182

Open
MichaelRizkalla-arm opened this issue Dec 11, 2024 · 0 comments

Comments

@MichaelRizkalla-arm
Copy link
Contributor

create_random_data is an error-prone function that returns a pointer to allocated memory using malloc.

As mentioned in #2177:

we really ought to remove use of the create_random_data function entirely given that it's so error-prone. This shouldn't be too bad, since there are only a dozen or so places where create_random_data is called, and about half of the uses are in these two files.

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

No branches or pull requests

1 participant