Skip to content

dead store in secp256k1_ecmult_gen #234

@jgriffiths

Description

@jgriffiths

In secp256k1_ecmult_gen, the final assignment:

    n_i = 0;

Is a dead store that the compiler will eliminate, if the intention is to clear the value then some asm magic will be required, otherwise this line would ideally be deleted.

Reporting as the static analyzer from clang reports this as a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions