Skip to content

Many iocsh commands crash the IOC when not given a port #185

@exzombie

Description

@exzombie

Running, simply, asynEnable with no arguments crashes the IOC. Many commands do this. A partial fix is in #171; that PR introduces a new command, which is where I noticed that no existing commands check for a NULL port name. That PR fixes the connectDevice() function, which, in turn, fixes all iocsh commands that first connect to the port. But there are commands that still crash, such as asynInterposeEcho and friends.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions