We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
in fnet_shell.c ` if(cur_command->name == 0) { fnet_shell_println((fnet_shell_desc_t)shell_if_p, FNET_SHELL_ERR_CMD, argv[0]); }
` if cur_command is NULL, the program will crash. so if I input wrong command, the program will crash.
The text was updated successfully, but these errors were encountered:
Hello, the reported issue is not valid for the latest FNET: cur_command->name is covered by if(cur_command) condition.
cur_command->name
if(cur_command)
Soory for the later answer.
Sorry, something went wrong.
Fixed
No branches or pull requests
in fnet_shell.c
`
if(cur_command->name == 0)
{
fnet_shell_println((fnet_shell_desc_t)shell_if_p, FNET_SHELL_ERR_CMD, argv[0]);
}
`
if cur_command is NULL, the program will crash.
so if I input wrong command, the program will crash.
The text was updated successfully, but these errors were encountered: