Skip to content

Fix CWE-789: Uncontrolled Memory Allocation by changing malloc to calloc#348

Closed
kayAlPal wants to merge 1 commit intomicrosoft:masterfrom
kayAlPal:fix/remove-uncontrolled-memory-allocation-ios
Closed

Fix CWE-789: Uncontrolled Memory Allocation by changing malloc to calloc#348
kayAlPal wants to merge 1 commit intomicrosoft:masterfrom
kayAlPal:fix/remove-uncontrolled-memory-allocation-ios

Conversation

@kayAlPal
Copy link

Things to consider before you submit the PR:

  • Has CHANGELOG.md been updated?
  • Are tests passing locally?
  • [x ] Are the files formatted correctly?
  • Did you add unit tests?
  • Did you test your change with the sample apps?

Description

The goal of the pull-request is to fix an error that the application received, that it uses malloc instead of calloc. It is fixed now in the application, but it would be nice if it could be fixed in plcrashreporter as well.

Related PRs or issues

None

Misc

In a bit of a hurry. The unit tests failed when on master and the sample apps didn't do too much better. Have not had time to chase down why.

@kayAlPal kayAlPal requested a review from a team as a code owner April 22, 2025 18:03
@kayAlPal
Copy link
Author

@microsoft-github-policy-service agree

@DmitriyKirakosyan
Copy link
Contributor

We do not plan to release a new version of PLCrashReporter. If you require these changes, please apply them in your own fork.

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