Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Queries.BlobSize #1125

Merged
merged 2 commits into from
Aug 10, 2023
Merged

Fix Queries.BlobSize #1125

merged 2 commits into from
Aug 10, 2023

Conversation

mrstanb
Copy link
Member

@mrstanb mrstanb commented Aug 3, 2023

This PR is an attempt to fix the issue described in #1119:

Test program from #1119:

#include <stdlib.h>

int main(int argc, char const *argv[]) {
    char *ptr = malloc(5 * sizeof(char));

    *ptr = 'a';

    free(ptr); //BlobSize

    return 0;
}

@mrstanb mrstanb linked an issue Aug 3, 2023 that may be closed by this pull request
@sim642 sim642 added the bug label Aug 3, 2023
@sim642 sim642 changed the title Attempt to fix Queries.BlobSize Attempt to fix Queries.BlobSize Aug 3, 2023
@sim642 sim642 changed the title Attempt to fix Queries.BlobSize Fix Queries.BlobSize Aug 9, 2023
@sim642 sim642 added this to the v2.2.0 milestone Aug 9, 2023
@mrstanb
Copy link
Member Author

mrstanb commented Aug 9, 2023

Is this good to merge?

@michael-schwarz michael-schwarz merged commit f47d983 into goblint:master Aug 10, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Queries.BlobSize returns the contents of a blob instead of its size
3 participants