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

VeraCode Unchecked Error Condition FIRCLSReportAdapter.m #5428

Closed
YessineM opened this issue Apr 21, 2020 · 1 comment · Fixed by #5431
Closed

VeraCode Unchecked Error Condition FIRCLSReportAdapter.m #5428

YessineM opened this issue Apr 21, 2020 · 1 comment · Fixed by #5431
Assignees
Milestone

Comments

@YessineM
Copy link

Environment

Xcode version: 11.3.1
Firebase SDK version: 6.21.0
Firebase Component: Crashlytics
Installation method: CocoaPods

Description:

The result of this call to malloc() is not checked for success before being used. This can result in application instability or crashing if memory is not available.

Relevant Code:

../Record/FIRCLSReportAdapter.m 159

.../Record/FIRCLSReportAdapter.m 234

@morganchen12
Copy link
Contributor

Thanks for reporting @YessineM, a fix is up at #5431.

@morganchen12 morganchen12 self-assigned this Apr 21, 2020
@morganchen12 morganchen12 added this to the M70 milestone Apr 21, 2020
@firebase firebase locked and limited conversation to collaborators May 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
3 participants