Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
exzombie opened this issue Jun 14, 2023 · 0 comments
Open

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

exzombie opened this issue Jun 14, 2023 · 0 comments

Comments

@exzombie
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant