Skip to content

Variable ETFeederNode::num_ops_ can have uninitialized value #201

@przemekbary

Description

@przemekbary

Describe the Bug

The variable ETFeederNode::num_ops_ can have uninitialized value, as it might not be initialized in the constructor. This can lead to random behavior in Workload::issue() function (see condition checking here https://github.com/astra-sim/astra-sim/blame/master/astra-sim/workload/Workload.cc#L138)

Steps to Reproduce

Use any chakra file that has no num_ops field

Expected Behavior

The field num_ops_ should be initialized to default value of 0

Screenshots

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