Skip to content

A segmentation fault (core dumped) vulnerability exists when viewing Foam using paraview ("paraFoam" command). #13

@Zpuppyyy

Description

@Zpuppyyy

Hello, when I run the "paraFoam" command in the terminal, a segmentation fault (core dumped) error occurs.
Here is the exact cause of the vulnerability.
In the official example "cavity", the folder "cavity/0/" contains the initial values and boundary conditions of each field. I used the file mutator to mutate the "p" (pressure field) file in the folder and changed the file format as follows:
image
i.e. "dimensions" is mutated to "dimensions123".
After that run the following command:
blockMesh ### draw mesh ####
1 1
image
icoFoam ###Calculate using the icoFoam solver###
2 1
paraFoam ### view Foam using paraview###

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