Skip to content

A potential bug of NPD #11020

@ash1852

Description

@ash1852

Steps to reproduce

Hi, I found a potential null pointer dereference bug in the project source code of libsndfile, and I have shown the execution sequence of the program that may generate the bug on the graph below. The red text illustrates the steps that generate the bug, the red arrows represent the call relationships,the file path can be seen in the blue framed section.
image

Although the code shown is for version 4.2.7 but this potential bug is still exist in the current version.
would you can help to check if this bug is true?thank you for your effort and patience!

Expected behaviour

handle case when allocate failed.

Version of Vim

8.1.2269

Environment

OS: ubuntu20.04

Logs and stack traces

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions