Skip to content
This repository was archived by the owner on Sep 24, 2020. It is now read-only.
This repository was archived by the owner on Sep 24, 2020. It is now read-only.

Uninitialized data in the loader #15

@OlegGalizin

Description

@OlegGalizin

Not all data in the array has been initialized
for (i = 0; i < MAXITEMS / 10; i++)
orig[i] = 0;
I think use
int orig[MAXITEMS+1] = {0};
is better.

It was found by valgrind.

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