Added null check for jidp in cmd_sub to handle jid_create returning NULL. Crash occurred when processing malformed JID inputs like @example.com. Ensures robust handling of invalid JIDs. Fixes #22
3 lines
159 B
C
3 lines
159 B
C
void cmd_sub_shows_message_when_not_connected(void** state);
|
|
void cmd_sub_shows_usage_when_no_arg(void** state);
|
|
void test_cmd_sub_malformed_jid(void** state); |