Skip to content

Null pointer if target .ino is a folder #358

Closed
@facchinm

Description

@facchinm

Bug Report

Current behavior

./arduino-cli --debug compile -b anything:something:meh ~/Arduino/Blink crashes with null pointer dereference if ~/Arduino/Blink contains a folder called Blink.ino

Expected behavior

Malformed ino files should be recognized and skipped.

Environment

  • CLI version (output of arduino-cli version): nightly-4-gcb3c79b
  • OS and platform: linux x86_64

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions