Skip to content

VeraCode Unchecked Error Condition FIRCLSReportAdapter.m #5428

Closed
@YessineM

Description

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

Activity

morganchen12

morganchen12 commented on Apr 21, 2020

@morganchen12
Contributor

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

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

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    VeraCode Unchecked Error Condition FIRCLSReportAdapter.m · Issue #5428 · firebase/firebase-ios-sdk