Skip to content

There are some errors in the dataset #1

@quyutest

Description

@quyutest

I observed several errors in the dataset, which make the dataset (the Data directory) unusable.

For instance, Six_projects\LibPNG\Non_vulnerable_functions\0014_fakepng.c_main.c
This file's source code is:

int
main(void)
{
fwrite(signature, sizeof signature, 1, stdout);
put_chunk(IHDR, sizeof IHDR);
for (;;)
put_chunk(unknown, sizeof unknown);
}

However, the "int" and "main(void)" should be in the same line.

Similarly, Six_projects\Asterisk\Non_vulnerable_functions\abstract_jb.c_ast_jb_enable_for_channel.c
This file's source code is:

}
void ast_jb_enable_for_channel(struct ast_channel *chan)
{
struct ast_jb_conf conf = ast_channel_jb(chan)->conf;
if (ast_test_flag(&conf, AST_JB_ENABLED)) {
ast_jb_create_framehook(chan, &conf, 1);
}
}

There is a redundant "}" in line 1. Please fix these errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions