Skip to content

compile error C4703: potentially uninitialized local pointer variable 'input' used #325

Description

@icanhasmath

Describe the bug
When I compile libyaml 0.2.5 on MSVC 2022, with /sdl for added security I get an error:
error C4703: potentially uninitialized local pointer variable 'input' used for:

* libyaml-0.2.5\_build\tests\run-parser-test-suite.vcxproj
* libyaml-0.2.5\_build\tests\run-parser.vcxproj

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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