Skip to content

VeraCode issue on CrashlyticsKit/Helpers/CLSAllocate.c #4870

@security-v

Description

@security-v

[REQUIRED] Step 1: Describe your environment

  • Xcode version: 11.3
  • Firebase SDK version: 6.13.0
  • Firebase Component: Crashlytics(Auth, Core, Database, Firestore, Messaging, Storage, etc)
  • Component version: 3.14.0
  • Installation method: CocoaPods

[REQUIRED] Step 2: Describe the problem

Steps to reproduce:

VeraCode has found a low severity issues in CrashlyticsKit/Helpers/CLSAllocate.c, called "Unchecked error condition ". The issue states that return value from malloc() is not been checked before been used in subsequent call.

Relevant Code:

Users/crashlytics/buildAgent/work/7e5c596e59839c6e/apple/CrashlyticsKit/CrashlyticsKit/Helpers/CLSAllocate.c [Path 1: CLSAllocatorSafeAllocateFromRegion, line 162 (1 step)] Users/crashlytics/buildAgent/work/7e5c596e59839c6e/apple/CrashlyticsKit/CrashlyticsKit/Helpers/CLSAllocate.c [Path 1: CLSAllocatorSafeAllocate, line 177 (1 step)] Users/crashlytics/buildAgent/work/7e5c596e59839c6e/apple/CrashlyticsKit/CrashlyticsKit/Helpers/CLSAllocate.c [Path 1: CLSAllocatorSafeAllocate, line 182 (1 step)]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions