Idle doesn't check if getting interfaces fails

Create issue
Issue #125 new
Former user created an issue

in src/core/idle.c, the MM_idle gets a bunch of interfaces and doesn't properly error check if getting the interfaces has failed. Instead it immediately calls

cmd->AddCommand

which will segfault if cmd is not loaded. Some of the interfaces (net, chatnet) look optional and are error checked, some are checked correctly (pd) but others are not checked at all (cmd and chat).

-BaK

Comments (1)

  1. Log in to comment