Skip to content

Fix issues identified by static analyzer in BasicRandom.c and ExtendedRandom.c #1334

@ibmkramamoo

Description

@ibmkramamoo

BasicRandom.c:
Input parameters such as bytes and seed are not validated for NULL. line 41, line 85
line 133: ICC_GenerateRandomSeed(ockCtx, &status, size, seedNative); - return value must be checked. if (status.majRC != ICC_OK)

ExtendedRandom.c: line 41: algName is not checked for being NULL.
Line 179: seed is not being checked for being NULL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions