Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.
This repository was archived by the owner on May 31, 2025. It is now read-only.

unimplemented null return - malloc may return NULL #1753

@danielwangksu

Description

@danielwangksu

XXH_malloc, wrapper of malloc may return NULL, state need to be checked

void* state = XXH_malloc (sizeof(struct XXH_state32_t));
XXH32_resetState(state, seed);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions